| Modifier and Type | Interface and Description |
|---|---|
| public interface | CleanableThreadContextMap
Extension service provider interface to implement additional custom MDC behavior for
|
| public interface | CopyOnWrite
Marker interface indicating that the implementing class is a copy-on-write data structure. |
| public interface | ExtendedLogger
Extends the |
| public interface | LocationAwareLogger
Logger that accepts the location of the caller. |
| public interface | LoggerAdapter<
the external logger class for this registry (e.g., L>org.slf4j.Logger)A basic registry for |
| public interface | LoggerContext
Anchor point for logging implementations. |
| public interface | LoggerContextFactory
Implemented by factories that create |
| public interface | LoggerContextShutdownAware
Interface allowing interested classes to know when a LoggerContext has shutdown - if the LoggerContext implementation provides a way to register listeners. |
| public interface | LoggerContextShutdownEnabled
LoggerContexts implementing this are able register LoggerContextShutdownAware classes. |
| public interface | ObjectThreadContextMap
Extension service provider interface to allow putting Object values in the
|
| public interface | ReadOnlyThreadContextMap
Read-only view of the data structure that implements MDC behavior for |
| public interface | Terminable
Interface to be implemented by LoggerContext's that provide a shutdown method. |
| public interface | ThreadContextMap
Service provider interface to implement custom MDC behavior for |
| public interface | ThreadContextMap2
Extension service provider interface to implement additional custom MDC behavior for
|
| public interface | ThreadContextStack
Service provider interface to implement custom NDC behavior for |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractLogger
Base implementation of a Logger. |
| public abstract class | AbstractLoggerAdapter<
the Logger class to adapt L>Provides an abstract base class to use for implementing LoggerAdapter. |
| pack-priv class | CopyOnWriteSortedArrayThreadContextMap
|
| public class | DefaultThreadContextMap
The actual ThreadContext Map. |
| public class | DefaultThreadContextStack
A copy-on-write thread-safe variant of |
| public class | ExtendedLoggerWrapper
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers. |
| pack-priv class | GarbageFreeSortedArrayThreadContextMap
|
| public class | LoggerContextKey
Deprecated
with no replacement - no longer used
Creates keys used in maps for use in LoggerContext implementations.
|
| public class | LoggerRegistry<T extends ExtendedLogger>
Convenience class to be used by |
| public class | MessageFactory2Adapter
Adapts a legacy MessageFactory to the new MessageFactory2 interface. |
| public class | |
| public class | NoOpThreadContextMap
|
| public class | Provider
Model class for a Log4j 2 provider. |
| public class | ThreadContextMapFactory
Creates the ThreadContextMap instance used by the ThreadContext. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | StandardLevel
Standard Logging Levels as an enumeration for use internally. |