Package org.apache.logging.log4j.core.impl
@Export
@Version("2.24.1")
package org.apache.logging.log4j.core.impl
Log4j 2 private implementation classes.
-
ClassDescriptionAnchor for the ThreadContext.Factory for creating the StringMap instances used to initialize LogEvents' context data.Factory for ContextDataInjectors.Always creates new LogEvent instances.Deprecated.Deprecated.Provides a read-only
StringMap
view of aMap<String, String>
.Classes that use location information should implement this interface.Factory to locate a ContextSelector and then load a LoggerContext.Implementation of a LogEvent.LogEvent Builder helper class.Binding for the Log4j API.Consider this class private.MementoMessage
is intended to be used when we need to make an immutable copy of aMessage
without forgetting the originalMessage.getFormat()
andMessage.getParameters()
values.Mutable implementation of theLogEvent
interface.Garbage-free LogEventFactory that reuses a single mutable log event.ThreadContextDataInjector
contains a number of strategies for copying key-value pairs from the variousThreadContext
map implementations into aStringMap
.TheContextDataInjector
used when the ThreadContextMap implementation is a copy-on-write StringMap-based data structure.DefaultContextDataInjector
for the legacyMap<String, String>
-based ThreadContext (which is also the ThreadContext implementation used for web applications).TheContextDataInjector
used when the ThreadContextMap implementation is a garbage-free StringMap-based data structure.ContextDataProvider for ThreadContext data.Contains options which control how aThrowable
pattern is formatted.Deprecated.