ErrorMessageLoggerWriteToSpecificEventLog Method
Writes exception details in clear form to the EventViewer.
Uses standard .NET classes.
Namespace: FileHold.CommonAssembly: FileHold.Common (in FileHold.Common.dll) Version: 17.2.0.0
public static void WriteToSpecificEventLog(
Exception ex,
string logSource,
string logName
)
Parameters
- ex Exception
- Exception that should be logged
- logSource String
- Name of the log source; if it's null, the source name is Undefined by default
- logName String
- Name of the log; if it's null, the name is FileHold by default