Package org.slf4j.helpers
Class SubstituteServiceProvider
- java.lang.Object
-
- org.slf4j.helpers.SubstituteServiceProvider
-
- All Implemented Interfaces:
SLF4JServiceProvider
public class SubstituteServiceProvider extends Object implements SLF4JServiceProvider
-
-
Constructor Summary
Constructors Constructor Description SubstituteServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILoggerFactory
getLoggerFactory()
Return the instance ofILoggerFactory
thatLoggerFactory
class should bind to.IMarkerFactory
getMarkerFactory()
Return the instance ofIMarkerFactory
thatMarkerFactory
class should bind to.MDCAdapter
getMDCAdapter()
String
getRequesteApiVersion()
SubstituteLoggerFactory
getSubstituteLoggerFactory()
void
initialize()
-
-
-
Method Detail
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
Description copied from interface:SLF4JServiceProvider
Return the instance ofILoggerFactory
thatLoggerFactory
class should bind to.- Specified by:
getLoggerFactory
in interfaceSLF4JServiceProvider
- Returns:
- the instance of
ILoggerFactory
thatLoggerFactory
class should bind to.
-
getSubstituteLoggerFactory
public SubstituteLoggerFactory getSubstituteLoggerFactory()
-
getMarkerFactory
public IMarkerFactory getMarkerFactory()
Description copied from interface:SLF4JServiceProvider
Return the instance ofIMarkerFactory
thatMarkerFactory
class should bind to.- Specified by:
getMarkerFactory
in interfaceSLF4JServiceProvider
- Returns:
- the instance of
IMarkerFactory
thatMarkerFactory
class should bind to.
-
getMDCAdapter
public MDCAdapter getMDCAdapter()
- Specified by:
getMDCAdapter
in interfaceSLF4JServiceProvider
-
getRequesteApiVersion
public String getRequesteApiVersion()
- Specified by:
getRequesteApiVersion
in interfaceSLF4JServiceProvider
-
initialize
public void initialize()
- Specified by:
initialize
in interfaceSLF4JServiceProvider
-
-