Defines methods called in case of exception in logging infrastructure classes. This interface can be implemented by any class implementing the IFlashtraceLogger interface. When an IFlashtraceLogger does not implement this interface, logging exceptions are silently ignored.
Namespace: Flashtrace
Assembly: Flashtrace.dll
Syntax
public interface IFlashtraceExceptionHandler
Methods
Name | Description |
---|---|
OnInternalException(Exception) | Method invoked when an exception is thrown in logging code. |
OnInvalidUserCode(in CallerInfo, string, params object[]) | Method invoked when the user code calling a logging infrastructure method is invalid, e.g. when the formatting string is incorrect or does not match the arguments. |