Interface Summary
Extends the
Logger interface with methods that facilitate implementing or extending
Loggers.
A basic registry for
LoggerContext objects and their associated external Logger classes.
Anchor point for logging implementations.
Service provider interface to implement custom MDC behavior for
ThreadContext.
Service provider interface to implement custom NDC behavior for
ThreadContext.
Class Summary
Base implementation of a Logger.
Provides an abstract base class to use for implementing LoggerAdapter.
The actual ThreadContext Map.
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.
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
Creates keys used in maps for use in LoggerContext implementations.
Model class for a Log4j 2 provider.
Enum Summary
Standard Logging Levels as an enumeration for use internally.
Package org.apache.logging.log4j.spi Description
Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes.