Adding methods to get the current log level from logger