Пример #1
0
 public static void SetMinimumLoggingLevel(LogLevel minLevel)
 {
     loggerFactory = LoggerFactory.Create(
         builder => builder
         .SetMinimumLevel(minLevel));
 }
Пример #2
0
 static LogManager()
 {
     loggerFactory = LoggerFactory.Create(
         builder => builder
         .SetMinimumLevel(LogLevel.None));
 }