PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsILogging­Exception­Handler
Open sandboxFocus

ILoggingExceptionHandler Interface

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.