Package org.apache.logging.log4j.spi
-
Interface Summary Interface Description CleanableThreadContextMap Extension service provider interface to implement additional custom MDC behavior forThreadContext.CopyOnWrite Deprecated. Since 2.24.0 no class implements this.ExtendedLogger Extends theLoggerinterface with methods that facilitate implementing or extendingLoggers.LocationAwareLogger Logger that accepts the location of the caller.LoggerAdapter<L> A basic registry forLoggerContextobjects and their associated external Logger classes.LoggerContext Anchor point for logging implementations.LoggerContextFactory Implemented by factories that createLoggerContextobjects.LoggerContextShutdownAware Interface allowing interested classes to know when a LoggerContext has shutdown - if the LoggerContext implementation provides a way to register listeners.LoggerContextShutdownEnabled LoggerContexts implementing this are able register LoggerContextShutdownAware classes.LoggerRegistry.MapFactory<T extends ExtendedLogger> Deprecated. As of version2.25.0, planned to be removed!ObjectThreadContextMap Extension service provider interface to allow putting Object values in theThreadContext.ReadOnlyThreadContextMap Read-only view of the data structure that implements MDC behavior forThreadContext.Terminable Interface to be implemented by LoggerContext's that provide a shutdown method.ThreadContextMap Service provider interface to implement custom MDC behavior forThreadContext.ThreadContextMap2 Extension service provider interface to implement additional custom MDC behavior forThreadContext.ThreadContextStack Service provider interface to implement custom NDC behavior forThreadContext. -
Class Summary Class Description AbstractLogger Base implementation of a Logger.AbstractLoggerAdapter<L> Provides an abstract base class to use for implementing LoggerAdapter.DefaultThreadContextMap The default implementation ofThreadContextMapDefaultThreadContextStack A copy-on-write thread-safe variant oforg.apache.logging.log4j.spi.ThreadContextStackin 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.LoggerContextKey Deprecated. with no replacement - no longer usedLoggerRegistry<T extends ExtendedLogger> Convenience class to be used as anExtendedLoggerregistry byLoggerContextimplementations.LoggerRegistry.ConcurrentMapFactory<T extends ExtendedLogger> Deprecated. As of version2.25.0, planned to be removed!LoggerRegistry.WeakMapFactory<T extends ExtendedLogger> Deprecated. As of version2.25.0, planned to be removed!MessageFactory2Adapter Adapts a legacy MessageFactory to the new MessageFactory2 interface.MutableThreadContextStack TODONoOpThreadContextMap ThreadContextMapimplementation used when either of system propertiesdisableThreadContextMapor .Provider Service class used to bind the Log4j API with an implementation.ThreadContextMapFactory Creates the ThreadContextMap instance used by the ThreadContext. -
Enum Summary Enum Description StandardLevel Standard Logging Levels as an enumeration for use internally.