Edit

Share via


LogFormatter.PrintException(Exception) Method

Definition

Utility function to convert an exception into printable format, including expanding and formatting any nested sub-expressions.

public static string PrintException (Exception exception);
static member PrintException : Exception -> string
Public Shared Function PrintException (exception As Exception) As String

Parameters

exception
Exception

The exception to be printed.

Returns

Formatted string representation of the exception, including expanding and formatting any nested sub-expressions.

Applies to