Implemented getLogLevel-function