public class SubstituteServiceProvider extends Object implements SLF4JServiceProvider
| Constructor and Description |
|---|
SubstituteServiceProvider() |
| 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() |
SubstituteLoggerFactory |
getSubstituteLoggerFactory() |
void |
initialize()
Initialize the logging back-end.
|
public SubstituteServiceProvider()
public ILoggerFactory getLoggerFactory()
SLF4JServiceProviderILoggerFactory that
LoggerFactory class should bind to.getLoggerFactory in interface SLF4JServiceProviderILoggerFactorypublic SubstituteLoggerFactory getSubstituteLoggerFactory()
public IMarkerFactory getMarkerFactory()
SLF4JServiceProviderIMarkerFactory that
MarkerFactory class should bind to.getMarkerFactory in interface SLF4JServiceProviderIMarkerFactorypublic MDCAdapter getMDCAdapter()
SLF4JServiceProviderMDCAdapter that
MDC should bind to.getMDCAdapter in interface SLF4JServiceProviderMDCAdapterpublic String getRequestedApiVersion()
getRequestedApiVersion in interface SLF4JServiceProviderpublic void initialize()
SLF4JServiceProviderWARNING: This method is intended to be called once by
LoggerFactory class and from nowhere else.
initialize in interface SLF4JServiceProviderCopyright © 2005–2022 QOS.ch. All rights reserved.