Package org.apache.logging.log4j.core.impl
@Export
@Version("2.24.0")
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.Class and package data used with a
StackTraceElement
in aExtendedStackTraceElement
.Wraps and extends the concept of the JRE's final classStackTraceElement
by adding more location information.Provides a read-onlyStringMap
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.Wraps a Throwable to add packaging information about each stack trace element.