MetalamaAPI documentationFlashtrace APIFlashtraceIFlashtrace­Exception­Handler
Open sandboxFocus

IFlashtraceExceptionHandler Interface

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
public interface IFlashtraceExceptionHandler


Name Description

Method invoked when an exception is thrown in logging code.

OnInvalidUserCode(in CallerInfo, String, 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.