See: Description
| Interface | Description |
|---|---|
| CleanableThreadContextMap |
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext. |
| CopyOnWrite |
Marker interface indicating that the implementing class is a copy-on-write data structure.
|
| ExtendedLogger |
Extends the
Logger interface with methods that facilitate implementing or extending Loggers. |
| LoggerAdapter<L> |
A basic registry for
LoggerContext objects and their associated external
Logger classes. |
| LoggerContext |
Anchor point for logging implementations.
|
| LoggerContextFactory |
Implemented by factories that create
LoggerContext objects. |
| LoggerRegistry.MapFactory<T extends ExtendedLogger> |
Interface to control the data structure used by the registry to store the Loggers.
|
| ObjectThreadContextMap |
Extension service provider interface to allow putting Object values in the
ThreadContext. |
| ReadOnlyThreadContextMap |
Read-only view of the data structure that implements MDC behavior for
ThreadContext. |
| Terminable |
Interface to be implemented by LoggerContext's that provide a shutdown method.
|
| ThreadContextMap |
Service provider interface to implement custom MDC behavior for
ThreadContext. |
| ThreadContextMap2 |
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext. |
| ThreadContextStack |
Service provider interface to implement custom NDC behavior for
ThreadContext. |
| Class | Description |
|---|---|
| AbstractLogger |
Base implementation of a Logger.
|
| AbstractLoggerAdapter<L> |
Provides an abstract base class to use for implementing LoggerAdapter.
|
| CopyOnWriteSortedArrayThreadContextMap |
SortedArrayStringMap-based implementation of the ThreadContextMap interface that creates a copy of
the data structure on every modification. |
| DefaultThreadContextMap |
The actual ThreadContext Map.
|
| DefaultThreadContextStack |
A copy-on-write thread-safe variant of
org.apache.logging.log4j.spi.ThreadContextStack in which all mutative
operations (add, pop, and so on) are implemented by making a fresh copy of the underlying list. |
| ExtendedLoggerWrapper |
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
|
| GarbageFreeSortedArrayThreadContextMap |
SortedArrayStringMap-based implementation of the ThreadContextMap interface that attempts not to
create temporary objects. |
| LoggerContextKey | Deprecated
with no replacement - no longer used
|
| LoggerRegistry<T extends ExtendedLogger> |
Convenience class to be used by
LoggerContext implementations. |
| LoggerRegistry.ConcurrentMapFactory<T extends ExtendedLogger> |
Generates ConcurrentHashMaps for use by the registry to store the Loggers.
|
| LoggerRegistry.WeakMapFactory<T extends ExtendedLogger> |
Generates WeakHashMaps for use by the registry to store the Loggers.
|
| MessageFactory2Adapter |
Adapts a legacy MessageFactory to the new MessageFactory2 interface.
|
| MutableThreadContextStack |
TODO
|
| NoOpThreadContextMap |
ThreadContextMap implementation used when either of system properties disableThreadContextMap or . |
| Provider |
Model class for a Log4j 2 provider.
|
| ThreadContextMapFactory |
Creates the ThreadContextMap instance used by the ThreadContext.
|
| Enum | Description |
|---|---|
| StandardLevel |
Standard Logging Levels as an enumeration for use internally.
|