/// <summary> /// Log current log levels /// </summary> public static void WriteLogLevels(IPBanCore.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); } }