PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics/ILogging­Exception­Handler
Open sandboxFocus

Interface ILoggingExceptionHandler

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, Object[])

Method invoked when a logging component detects a precondition violation that probably stem from user-written code.