示例#1
0
 public void Fatal(string message, Exception exception)
 {
     Fatal(LogUtility.BuildExceptionMessage(exception));
     SendEmail(message, LogUtility.BuildExceptionMessage(exception));
 }
示例#2
0
 public void Error(string message, Exception exception)
 {
     _logger.Error(message, exception);
     SendEmail(message, LogUtility.BuildExceptionMessage(exception));
 }
示例#3
0
 public void Fatal(Exception exception)
 {
     Fatal(LogUtility.BuildExceptionMessage(exception));
     SendEmail(exception.Message, LogUtility.BuildExceptionMessage(exception));
 }
示例#4
0
 public void Error(Exception exception)
 {
     Error(LogUtility.BuildExceptionMessage(exception));
     SendEmail(exception.Message, LogUtility.BuildExceptionMessage(exception));
 }