public interface ILoggingBackend
Users can implement this backend to delegate the internal logging to their framework of choice. The implementation must then be configured
during global initialization in order to be used by this library.
Implementations must be thread-safe. All methods will be called concurrently from various threads.
Note that the only purpose of this interface is to facilitate redirecting the logging performed by this library. We expect that, in your own code, you use your framework of choice directly.
Modifier and Type | Method and Description |
---|---|
void |
deleteLogger(Object handle) |
boolean |
isEnabled(Object handle,
LogLevel level) |
void |
log(Object handle,
LogLevel level,
String message) |
void |
log(Object handle,
LogLevel level,
String message,
Throwable exception) |
Object |
newLogger(String name) |