public static void Warning(int eventId, string message) { log = Library.Logging.LogManager.GetLogger(String.Empty); if (log.IsWarnEnabled) { log.Warn(eventId, message); } }
public static void Warning(int eventId, Exception exception) { log = Library.Logging.LogManager.GetLogger(String.Empty); if (log.IsWarnEnabled) { log.Warn(eventId, exception.Message, exception); } }
public static void Warning(int eventId, string type, Exception exception, string message) { log = Library.Logging.LogManager.GetLogger(type); if (log.IsWarnEnabled) { log.Warn(eventId, message, exception); } }