Make sure to accept only integers in _setDebugLevel()