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.ILoggerFactory
IMarkerFactory getMarkerFactory()
IMarkerFactory
that
MarkerFactory
class should bind to.IMarkerFactory
MDCAdapter getMDCAdapter()
MDCAdapter
that
MDC
should bind to.MDCAdapter
String 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.