private static bool LogLevelLowerOrEqualTo(LogLevel logLevel) { return(logger.GetLogLevel() <= logLevel); }