Package org.slf4j.helpers
Class SubstituteServiceProvider
java.lang.Object
org.slf4j.helpers.SubstituteServiceProvider
- All Implemented Interfaces:
- SLF4JServiceProvider
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.Return the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.Return the instance ofMDCAdapterthatMDCshould bind to.Return the maximum API version for SLF4J that the logging implementation supports.voidInitialize the logging back-end.
- 
Constructor Details- 
SubstituteServiceProviderpublic SubstituteServiceProvider()
 
- 
- 
Method Details- 
getLoggerFactoryDescription copied from interface:SLF4JServiceProviderReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Specified by:
- getLoggerFactoryin interface- SLF4JServiceProvider
- Returns:
- instance of ILoggerFactory
 
- 
getSubstituteLoggerFactory
- 
getMarkerFactoryDescription copied from interface:SLF4JServiceProviderReturn the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.- Specified by:
- getMarkerFactoryin interface- SLF4JServiceProvider
- Returns:
- instance of IMarkerFactory
 
- 
getMDCAdapterDescription copied from interface:SLF4JServiceProviderReturn the instance ofMDCAdapterthatMDCshould bind to.- Specified by:
- getMDCAdapterin interface- SLF4JServiceProvider
- Returns:
- instance of MDCAdapter
 
- 
getRequestedApiVersionDescription copied from interface:SLF4JServiceProviderReturn the maximum API version for SLF4J that the logging implementation supports.For example: "2.0.1".- Specified by:
- getRequestedApiVersionin interface- SLF4JServiceProvider
- Returns:
- the string API version.
 
- 
initializeDescription copied from interface:SLF4JServiceProviderInitialize the logging back-end.WARNING: This method is intended to be called once by LoggerFactoryclass and from nowhere else.- Specified by:
- initializein interface- SLF4JServiceProvider
 
 
-