public class SimpleServiceProvider extends Object implements SLF4JServiceProvider
Modifier and Type | Field and Description |
---|---|
static String |
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against.
|
Constructor and Description |
---|
SimpleServiceProvider() |
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.
|
public static String REQUESTED_API_VERSION
public SimpleServiceProvider()
public ILoggerFactory getLoggerFactory()
SLF4JServiceProvider
ILoggerFactory
that
LoggerFactory
class should bind to.getLoggerFactory
in interface SLF4JServiceProvider
ILoggerFactory
public IMarkerFactory getMarkerFactory()
SLF4JServiceProvider
IMarkerFactory
that
MarkerFactory
class should bind to.getMarkerFactory
in interface SLF4JServiceProvider
IMarkerFactory
public MDCAdapter getMDCAdapter()
SLF4JServiceProvider
MDCAdapter
that
MDC
should bind to.getMDCAdapter
in interface SLF4JServiceProvider
MDCAdapter
public String getRequestedApiVersion()
getRequestedApiVersion
in interface SLF4JServiceProvider
public void initialize()
SLF4JServiceProvider
WARNING: This method is intended to be called once by
LoggerFactory
class and from nowhere else.
initialize
in interface SLF4JServiceProvider
Copyright © 2005–2022 QOS.ch. All rights reserved.