/// <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));
 }
Example #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);
 }
Example #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);
 }