Exemple #1
0
 public void Warning(Exception exception)
 {
     WriteToEventLog(LogUtility.BuildExceptionMessage(exception), EventLogEntryType.Warning);
 }
Exemple #2
0
 public void Information(Exception exception)
 {
     WriteToEventLog(LogUtility.BuildExceptionMessage(exception), EventLogEntryType.Information);
 }
Exemple #3
0
 public void Fatal(Exception x)
 {
     WriteToEventLog(LogUtility.BuildExceptionMessage(x), EventLogEntryType.Error);
 }
Exemple #4
0
 public void Error(string message, Exception exception)
 {
     WriteToEventLog(LogUtility.BuildExceptionMessage(exception, message), EventLogEntryType.Error);
 }
Exemple #5
0
 public void Warning(string message, Exception exception)
 {
     log.Warn(LogUtility.BuildExceptionMessage(exception, message));
 }
Exemple #6
0
 public void Error(Exception x)
 {
     Error(LogUtility.BuildExceptionMessage(x));
 }
Exemple #7
0
 public void Error(Exception exception)
 {
     log.Error(LogUtility.BuildExceptionMessage(exception));
 }
Exemple #8
0
 public void Error(string message, Exception exception)
 {
     log.Error(LogUtility.BuildExceptionMessage(exception, message));
 }
Exemple #9
0
 public void Information(Exception exception)
 {
     log.Info(LogUtility.BuildExceptionMessage(exception));
 }
Exemple #10
0
 public void Information(string message, Exception exception)
 {
     log.Info(LogUtility.BuildExceptionMessage(exception, message));
 }
Exemple #11
0
 public void Warning(Exception exception)
 {
     log.Warn(LogUtility.BuildExceptionMessage(exception));
 }