Click or drag to resize

EAPUtilFormatExceptionForRequestLog Method

Returns a formatted string from an exception where that string is intended for logging to the xot_request_log and is appropriate for developers.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string FormatExceptionForRequestLog(
	Exception ex,
	bool includeStackTrace = false
)

Parameters

ex
Type: SystemException
The exception.
includeStackTrace (Optional)
Type: SystemBoolean
Optionally include the stack trace in the log, default is to not include the trace.

Return Value

Type: String
The formatted error message.
See Also