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