public interface SLF4JServiceProvider
ServiceLoader paradigm.
It replaces the old static-binding mechanism used in SLF4J versions 1.0.x to 1.7.x.
| Modifier and Type | Method and Description |
|---|---|
ILoggerFactory |
getLoggerFactory()
Return the instance of
ILoggerFactory that
LoggerFactory class should bind to. |
IMarkerFactory |
getMarkerFactory()
Return the instance of
IMarkerFactory that
MarkerFactory class should bind to. |
MDCAdapter |
getMDCAdapter()
Return the instance of
MDCAdapter that
MDC should bind to. |
String |
getRequestedApiVersion() |
void |
initialize()
Initialize the logging back-end.
|
ILoggerFactory getLoggerFactory()
ILoggerFactory that
LoggerFactory class should bind to.ILoggerFactoryIMarkerFactory getMarkerFactory()
IMarkerFactory that
MarkerFactory class should bind to.IMarkerFactoryMDCAdapter getMDCAdapter()
MDCAdapter that
MDC should bind to.MDCAdapterString getRequestedApiVersion()
void initialize()
WARNING: This method is intended to be called once by
LoggerFactory class and from nowhere else.
Copyright © 2005–2022 QOS.ch. All rights reserved.