示例#1
0
 /// <summary>
 /// Logs the specified exception type error
 /// </summary>
 /// <param name="exception">Generated exception to log</param>
 public void LogException(Exception exception)
 {
     WriteText(LoggingDetails.GetFormattedExceptionString(exception));
 }
示例#2
0
 /// <summary>
 /// Logs the specified exception type error
 /// </summary>
 /// <param name="exception">Exception received to log an error</param>
 public void LogException(Exception exception)
 {
     LoggerTypeException(LoggingDetails.GetFormattedExceptionString(exception), Constants.LOG_LEVEL_ERROR);
 }
示例#3
0
 /// <summary>
 /// Logs the specified exception type error
 /// </summary>
 /// <param name="exception">Exception received to log an error</param>
 public void LogException(Exception exception)
 {
     LogEventTypeException(LoggingDetails.GetFormattedExceptionString(exception), EventLogEntryType.Error);
 }