Package org.slf4j.helpers
Class NOPServiceProvider
- java.lang.Object
-
- org.slf4j.helpers.NOPServiceProvider
-
- All Implemented Interfaces:
SLF4JServiceProvider
public class NOPServiceProvider extends Object implements SLF4JServiceProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUESTED_API_VERSIONDeclare the version of the SLF4J API this implementation is compiled against.
-
Constructor Summary
Constructors Constructor Description NOPServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILoggerFactorygetLoggerFactory()Return the instance ofILoggerFactorythatLoggerFactoryclass should bind to.IMarkerFactorygetMarkerFactory()Return the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.MDCAdaptergetMDCAdapter()StringgetRequesteApiVersion()voidinitialize()
-
-
-
Field Detail
-
REQUESTED_API_VERSION
public static String REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.
-
-
Method Detail
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
Description copied from interface:SLF4JServiceProviderReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Specified by:
getLoggerFactoryin interfaceSLF4JServiceProvider- Returns:
- the instance of
ILoggerFactorythatLoggerFactoryclass should bind to.
-
getMarkerFactory
public IMarkerFactory getMarkerFactory()
Description copied from interface:SLF4JServiceProviderReturn the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.- Specified by:
getMarkerFactoryin interfaceSLF4JServiceProvider- Returns:
- the instance of
IMarkerFactorythatMarkerFactoryclass should bind to.
-
getMDCAdapter
public MDCAdapter getMDCAdapter()
- Specified by:
getMDCAdapterin interfaceSLF4JServiceProvider
-
getRequesteApiVersion
public String getRequesteApiVersion()
- Specified by:
getRequesteApiVersionin interfaceSLF4JServiceProvider
-
initialize
public void initialize()
- Specified by:
initializein interfaceSLF4JServiceProvider
-
-