Package org.slf4j.reload4j
Class Reload4jServiceProvider
java.lang.Object
org.slf4j.reload4j.Reload4jServiceProvider
- All Implemented Interfaces:
SLF4JServiceProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
Declare the version of the SLF4J API this implementation is compiled against. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the instance ofILoggerFactory
thatLoggerFactory
class should bind to.Return the instance ofIMarkerFactory
thatMarkerFactory
class should bind to.Return the instance ofMDCAdapter
thatMDC
should bind to.Return the maximum API version for SLF4J that the logging implementation supports.void
Initialize the logging back-end.
-
Field Details
-
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.
-
-
Constructor Details
-
Reload4jServiceProvider
public Reload4jServiceProvider()
-
-
Method Details
-
initialize
Description copied from interface:SLF4JServiceProvider
Initialize the logging back-end.WARNING: This method is intended to be called once by
LoggerFactory
class and from nowhere else.- Specified by:
initialize
in interfaceSLF4JServiceProvider
-
getLoggerFactory
Description copied from interface:SLF4JServiceProvider
Return the instance ofILoggerFactory
thatLoggerFactory
class should bind to.- Specified by:
getLoggerFactory
in interfaceSLF4JServiceProvider
- Returns:
- instance of
ILoggerFactory
-
getMarkerFactory
Description copied from interface:SLF4JServiceProvider
Return the instance ofIMarkerFactory
thatMarkerFactory
class should bind to.- Specified by:
getMarkerFactory
in interfaceSLF4JServiceProvider
- Returns:
- instance of
IMarkerFactory
-
getMDCAdapter
Description copied from interface:SLF4JServiceProvider
Return the instance ofMDCAdapter
thatMDC
should bind to.- Specified by:
getMDCAdapter
in interfaceSLF4JServiceProvider
- Returns:
- instance of
MDCAdapter
-
getRequestedApiVersion
Description copied from interface:SLF4JServiceProvider
Return the maximum API version for SLF4J that the logging implementation supports.For example:
"2.0.1"
.- Specified by:
getRequestedApiVersion
in interfaceSLF4JServiceProvider
- Returns:
- the string API version.
-