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 : ILoggingExceptionHandler
Constructors
Name | Description |
---|---|
ThrowingLoggingExceptionHandler() |
Methods
Name | Description |
---|---|
OnInternalException(LoggingExceptionInfo) | Method invoked when an exception is thrown in logging code. |
OnInvalidUserCode(ref CallerInfo, LoggingTypeSource, string, params object[]) | Method invoked when a logging component detects a precondition violation that probably stem from user-written code. |