DefaultLoggingExceptionHandler Class |
An implementation of the ILoggingExceptionHandler that attempts to log
exceptions to the Meta logging role, then disables the backlog
in case of internal exception (but not in case of invalid user code).
Not to be confused with ILoggerExceptionHandler.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.4.11.0 (6.4.11.0)
C#
public class DefaultLoggingExceptionHandler : ILoggingExceptionHandler
The DefaultLoggingExceptionHandler type exposes the following members.
Name | Description | |
---|---|---|
DefaultLoggingExceptionHandler | Initializes a new instance of the DefaultLoggingExceptionHandler class |
Name | Description | |
---|---|---|
OnInternalException |
Method invoked when an exception is thrown in logging code.
| |
OnInvalidUserCode |
Method invoked when a logging component detects a precondition violation
that probably stem from user-written code.
|