PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends Namespace/Text­Logging­Backend­Options Class/Text­Logging­Backend­Options Properties/Text­Logging­Backend­Options.​Exception­Formatter Property

TextLoggingBackendOptions.ExceptionFormatter Property

The Formatter<T> used to format the Exception in which a method or custom activity results. This is different than the formatter used to format parameter or property values of Exception type. The default implementation prints the full type name of the Exception.

Namespace:  PostSharp.Patterns.Diagnostics.Backends
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public Formatter<Exception> ExceptionFormatter { get; }

Property Value

Type: Formatter<Exception>
See Also