Class ThrowingLoggingExceptionHandler
An implementation of the ILoggingExceptionHandler that throws a LoggingException or an InvalidOperationException.
Implements
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class ThrowingLoggingExceptionHandler : Object, ILoggingExceptionHandler
Constructors
Name | Description |
---|---|
ThrowingLoggingExceptionHandler() |
Methods
Name | Description |
---|---|
Initialize() | |
OnInternalException(LoggingExceptionInfo) | Method invoked when an exception is thrown in logging code. |
OnInvalidUserCode(ref CallerInfo, LoggingTypeSource, String, Object[]) | Method invoked when a logging component detects a precondition violation that probably stem from user-written code. |