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
StringMapview 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.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.Deprecated.