public void Fatal(string message, Exception exception) { Fatal(LogUtility.BuildExceptionMessage(exception)); SendEmail(message, LogUtility.BuildExceptionMessage(exception)); }
public void Error(string message, Exception exception) { _logger.Error(message, exception); SendEmail(message, LogUtility.BuildExceptionMessage(exception)); }
public void Fatal(Exception exception) { Fatal(LogUtility.BuildExceptionMessage(exception)); SendEmail(exception.Message, LogUtility.BuildExceptionMessage(exception)); }
public void Error(Exception exception) { Error(LogUtility.BuildExceptionMessage(exception)); SendEmail(exception.Message, LogUtility.BuildExceptionMessage(exception)); }