PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger­Exception­Handler Interface / ILogger­Exception­Handler Methods

ILoggerExceptionHandler Methods

The ILoggerExceptionHandler type exposes the following members.

Public methodOnInternalException
Method invoked when an exception is thrown in logging code.
Public methodOnInvalidUserCode
Method invoked when the user code calling Logger or LogActivity is invalid, e.g. when the formatting string is incorrect or does not match the arguments.
See Also