Log..::..ToLogString Method

Creates a log-string from the Exception.

The result includes the stacktrace, innerexception et cetera, separated by .

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static string ToLogString(
	Exception ex,
	string additionalMessage
)

Parameters

ex
Type: Exception
The exception to create the string from.
additionalMessage
Type: String
Additional message to place at the top of the string, maybe be empty or null.

Return Value

System.String.