Method | Description | |
---|---|---|
AppendStringToLogFile ( string fileName, string logString ) : void |
Appends the provided logString to end of fileName.txt. If the file does not exist it will be created.
|
|
LogException ( |
Logs the provided exception to a file to assist troubleshooting.
|
public static AppendStringToLogFile ( string fileName, string logString ) : void | ||
fileName | string | The filename to use. The extension .txt will be appended automatically |
logString | string | The string to append. |
return | void |
public static LogException ( |
||
ex | The exception to be logged | |
fileName | string | The filename to use. A time stamp and extension .txt will be appended automatically |
optionalCommentStr | string | An optional string which will appear at the top of the error file |
return | string |