Exemple #1
0
 public static void Warning(int eventId, string message)
 {
     log = Library.Logging.LogManager.GetLogger(String.Empty);
     if (log.IsWarnEnabled)
     {
         log.Warn(eventId, message);
     }
 }
Exemple #2
0
 public static void Warning(int eventId, Exception exception)
 {
     log = Library.Logging.LogManager.GetLogger(String.Empty);
     if (log.IsWarnEnabled)
     {
         log.Warn(eventId, exception.Message, exception);
     }
 }
Exemple #3
0
 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);
     }
 }