public static void BusinessError(int eventId, string message) { log = Library.Logging.LogManager.GetLogger(String.Empty); if (log.IsBusinessErrorEnabled) { log.BusinessError(eventId, message); } }
public static void BusinessError(int eventId, Exception exception) { log = Library.Logging.LogManager.GetLogger(String.Empty); if (log.IsBusinessErrorEnabled) { log.BusinessError(eventId, exception.Message, exception); } }
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); } }