Class SLF4JProvider
java.lang.Object
org.apache.logging.log4j.spi.Provider
org.apache.logging.slf4j.SLF4JProvider
Bind the Log4j API to SLF4J.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LoggerContextFactoryprivate static final ThreadContextMapFields inherited from class Provider
CURRENT_VERSION, FACTORY_PRIORITY, LOGGER_CONTEXT_FACTORY, PROVIDER_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Provider
equals, getClassName, getPriority, getThreadContextMap, getUrl, getVersions, hashCode, loadLoggerContextFactory, loadThreadContextMap, toString
-
Field Details
-
CONTEXT_FACTORY
-
THREAD_CONTEXT_MAP
-
-
Constructor Details
-
SLF4JProvider
public SLF4JProvider()
-
-
Method Details
-
getLoggerContextFactory
- Overrides:
getLoggerContextFactoryin classProvider- Returns:
- The logger context factory to be used by
LogManager.
-
getThreadContextMapInstance
- Overrides:
getThreadContextMapInstancein classProvider- Returns:
- The thread context map to be used by
ThreadContext.
-