logExceptionHistory

logExceptionHistory(logFileName: String);

The logExceptionHistory method of the Exception class enables you to log the exception stack history in an exception handler.

The exception stack contains an entry for each nested exception. The output is appended to the file specified in the logFileName parameter.