Package io.servicetalk.log4j2.mdc
Class DefaultServiceTalkThreadContextMapProvider
java.lang.Object
org.apache.logging.log4j.spi.Provider
io.servicetalk.log4j2.mdc.DefaultServiceTalkThreadContextMapProvider
public final class DefaultServiceTalkThreadContextMapProvider
extends org.apache.logging.log4j.spi.Provider
Provider for
ServiceLoader
to initialize DefaultServiceTalkThreadContextMap
.
This class is service loaded by log4j2 and is used to provide an MDC context map implementation that will work with ServiceTalks reactive primitives.
-
Field Summary
Fields inherited from class org.apache.logging.log4j.spi.Provider
FACTORY_PRIORITY, LOGGER_CONTEXT_FACTORY, THREAD_CONTEXT_MAP
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.logging.log4j.spi.Provider
equals, getClassName, getPriority, getThreadContextMap, getUrl, getVersions, hashCode, loadLoggerContextFactory, loadThreadContextMap, toString
-
Constructor Details
-
DefaultServiceTalkThreadContextMapProvider
public DefaultServiceTalkThreadContextMapProvider()Creates a new instance.The zero-argument constructor is required by
ServiceLoader
.
-