PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/ILogging­Exception­Handler Interface

ILoggingExceptionHandler Interface

Defines methods called in case of exception in the logging component.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public interface ILoggingExceptionHandler

The ILoggingExceptionHandler type exposes the following members.

Methods
  NameDescription
Public methodOnInternalException
Method invoked when an exception is thrown in logging code.
Public methodOnInvalidUserCode
Method invoked when a logging component detects a precondition violation that probably stem from user-written code.
See Also