Logs the provided exception to a file to assist troubleshooting.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- ex
- Type:
System Exception
The exception to be logged
- fileName
- Type:
System String
The filename to use. A time stamp and extension .txt will be appended automatically
- optionalCommentStr (Optional)
- Type:
System String
An optional string which will appear at the top of the error file
Return Value
Type:
The entire fileName used.
See Also