Exemple #1
0
 /// <summary>
 /// Log current log levels
 /// </summary>
 public static void WriteLogLevels(IPBan.LogLevel level = LogLevel.Warn)
 {
     if (logger != null)
     {
         IPBanLog.Write(level, IPBanService.UtcNow, "Log levels: {0},{1},{2},{3},{4},{5}", logger.IsFatalEnabled, logger.IsErrorEnabled, logger.IsWarnEnabled, logger.IsInfoEnabled, logger.IsDebugEnabled, logger.IsTraceEnabled);
     }
 }