Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
org.apache.logging.slf4j |
SLF4J support.
|
Modifier and Type | Field and Description |
---|---|
private static ThreadContextMap |
ThreadContext.contextMap |
Modifier and Type | Interface and Description |
---|---|
interface |
CleanableThreadContextMap
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext . |
interface |
ObjectThreadContextMap
Extension service provider interface to allow putting Object values in the
ThreadContext . |
interface |
ThreadContextMap2
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CopyOnWriteSortedArrayThreadContextMap
SortedArrayStringMap -based implementation of the ThreadContextMap interface that creates a copy of
the data structure on every modification. |
class |
DefaultThreadContextMap
The actual ThreadContext Map.
|
(package private) class |
GarbageFreeSortedArrayThreadContextMap
SortedArrayStringMap -based implementation of the ThreadContextMap interface that attempts not to
create temporary objects. |
class |
NoOpThreadContextMap
ThreadContextMap implementation used when either of system properties disableThreadContextMap or . |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends ThreadContextMap> |
Provider.threadContextMapClass |
Modifier and Type | Method and Description |
---|---|
private static ThreadContextMap |
ThreadContextMapFactory.createDefaultThreadContextMap() |
static ThreadContextMap |
ThreadContextMapFactory.createThreadContextMap() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends ThreadContextMap> |
Provider.loadThreadContextMap()
Loads the
ThreadContextMap class specified by this Provider. |
Constructor and Description |
---|
Provider(java.lang.Integer priority,
java.lang.String versions,
java.lang.Class<? extends LoggerContextFactory> loggerContextFactoryClass,
java.lang.Class<? extends ThreadContextMap> threadContextMapClass) |
Modifier and Type | Class and Description |
---|---|
class |
MDCContextMap
Bind the ThreadContextMap to the SLF4J MDC.
|