This shows you the differences between two versions of the page.
write_exception_log [2018/03/25 17:50]
write_exception_log [2018/03/25 17:52] (current)
|Line 1:||Line 1:|
|====== Write an exception to a log file ======||====== Write an exception to a log file ======|
|+||The following code writes the passed exception to a file named ''XSharpError.log'' in the application directory. If this file exists, the error is appended, otherwise the file is created first.|
|<code>static class ErrorHandling||<code>static class ErrorHandling|