예제 #1
0
 public void Fatal(Exception x)
 {
     if (IsFatalEnabled)
     {
         Write(LogLevel.Fatal, LogUtility.BuildExceptionMessage(x));
     }
 }
예제 #2
0
 public void Error(Exception x)
 {
     if (IsErrorEnabled)
     {
         Write(LogLevel.Error, LogUtility.BuildExceptionMessage(x));
     }
 }
예제 #3
0
 public void Fatal(Exception x)
 {
     WriteToEventLog(LogUtility.BuildExceptionMessage(x), EventLogEntryType.Error);
 }
예제 #4
0
 public void Error(Exception x)
 {
     Error(LogUtility.BuildExceptionMessage(x));
 }