示例#1
0
 public static void BusinessError(int eventId, string message)
 {
     log = Library.Logging.LogManager.GetLogger(String.Empty);
     if (log.IsBusinessErrorEnabled)
     {
         log.BusinessError(eventId, message);
     }
 }
示例#2
0
 public static void BusinessError(int eventId, Exception exception)
 {
     log = Library.Logging.LogManager.GetLogger(String.Empty);
     if (log.IsBusinessErrorEnabled)
     {
         log.BusinessError(eventId, exception.Message, exception);
     }
 }
示例#3
0
 public static void BusinessError(int eventId, string type, Exception exception, string message)
 {
     log = Library.Logging.LogManager.GetLogger(type);
     if (log.IsBusinessErrorEnabled)
     {
         log.BusinessError(eventId, message, exception);
     }
 }