Defines methods called in case of exception in the logging component.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public interface ILoggingExceptionHandler
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. |