Package org.apache.logging.log4j.core.impl
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
StackTraceElementin aExtendedStackTraceElement.Wraps and extends the concept of the JRE's final classStackTraceElementby adding more location information.Provides a read-onlyStringMapview 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.Proxy pattern used to serialize the LogEvent.Binding for the Log4j API.Consider this class private.MementoMessageis intended to be used when we need to make an immutable copy of aMessagewithout forgetting the originalMessage.getFormat()andMessage.getParameters()values.Mutable implementation of theLogEventinterface.Garbage-free LogEventFactory that reuses a single mutable log event.ThreadContextDataInjectorcontains a number of strategies for copying key-value pairs from the variousThreadContextmap implementations into aStringMap.TheContextDataInjectorused when the ThreadContextMap implementation is a copy-on-write StringMap-based data structure.DefaultContextDataInjectorfor the legacyMap<String, String>-based ThreadContext (which is also the ThreadContext implementation used for web applications).TheContextDataInjectorused when the ThreadContextMap implementation is a garbage-free StringMap-based data structure.ContextDataProvider for ThreadContext data.Contains options which control how aThrowablepattern is formatted.Wraps a Throwable to add packaging information about each stack trace element.ThrowableProxyHelperprovides utilities required to initialize a newThrowableProxyinstance.Cached StackTracePackageElement and ClassLoader.ThrowableProxyRendereris an internal utility providing the code to render aThrowableProxyto aStringBuilder.