Implementation of ILoggingExceptionHandler that throws a LoggingException or an InvalidOperationException.
Implements
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class ThrowingLoggingExceptionHandler : ILoggingExceptionHandlerConstructors
| Name | Description |
|---|---|
| ThrowingLoggingExceptionHandler() |
Methods
| Name | Description |
|---|---|
| OnInternalException(LoggingExceptionInfo) | Called when an exception is thrown in logging code. |
| OnInvalidUserCode(ref CallerInfo, LoggingTypeSource, string, params object[]) | Called when a logging component detects a precondition violation that probably stems from user-written code. |