ErrorMessageLogger Class

Definition

Namespace: FileHold.Common
Assembly: FileHold.Common (in FileHold.Common.dll) Version: 17.2.0.0
C#
public static class ErrorMessageLogger
Inheritance
Object    ErrorMessageLogger

Methods

ExceptionSeverityToEventLogEntryType Converts ExceptionSeverity to EventLogEntryType Uses standard .NET classes.
ExceptionSeverityToTraceEventType Converts ExceptionSeverity to TraceEventType Uses standard .NET classes.
WriteToEventLog(Exception, String, NullableTraceEventType) Writes exception details in clear form to the EventViewer. Uses EnterpriseLibrary classes.
WriteToEventLog(String, String, TraceEventType) Writes message to the EventViewer. Uses EnterpriseLibrary classes.
WriteToEventLog(Exception, String, String, NullableTraceEventType) Writes exception details in clear form to the EventViewer. Uses EnterpriseLibrary classes.
WriteToSpecificEventLog Writes exception details in clear form to the EventViewer. Uses standard .NET classes.

See Also