ErrorMessageLoggerWriteToEventLog(Exception, String, NullableTraceEventType) Method
Writes exception details in clear form to the EventViewer.
Uses EnterpriseLibrary classes.
Namespace: FileHold.CommonAssembly: FileHold.Common (in FileHold.Common.dll) Version: 17.2.0.0
public static void WriteToEventLog(
Exception ex,
string title,
TraceEventType? eventType
)
Parameters
- ex Exception
- Exception that should be logged
- title String
- Log title
- eventType NullableTraceEventType
- Event type