Method LogExceptionToFile
LogExceptionToFile(Exception, string?)
Logs Exception information to file.
public static void LogExceptionToFile(Exception e, string? filename = null)
Parameters
e
ExceptionException to log.
filename
stringLog file path. LogFilePath is used when this parameter is
null
.