PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​BackendsText­Logging­Backend­OptionsInclude­Exception­Details
Open sandboxFocus

TextLoggingBackendOptions.IncludeExceptionDetails Property

IncludeExceptionDetails

Determines whether exception details (basically Exception.ToString) should be appended to the log. The default value is false.

Declaration
public bool IncludeExceptionDetails { get; set; }
Property Value
Type Description
Boolean
Remarks

Some back-ends may ignore this setting and always include exception details.