PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public Formatter<Exception> ExceptionFormatter { get; }

Property Value

Type: Formatter<Exception>
See Also