Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
org.apache.logging.log4j.util |
Internal utility classes for the Log4j 2 API.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyStringMap |
LogEvent.getContextData()
Returns the
ReadOnlyStringMap object holding context data key-value pairs. |
ReadOnlyStringMap |
AbstractLogEvent.getContextData() |
ReadOnlyStringMap |
ContextDataInjector.rawContextData()
Returns a
ReadOnlyStringMap object reflecting the current state of the context. |
Modifier and Type | Method and Description |
---|---|
ReadOnlyStringMap |
RingBufferLogEvent.getContextData() |
Modifier and Type | Method and Description |
---|---|
private ReadOnlyStringMap |
ThreadContextMapFilter.currentContextData() |
private ReadOnlyStringMap |
DynamicThresholdFilter.currentContextData() |
Modifier and Type | Method and Description |
---|---|
private Filter.Result |
DynamicThresholdFilter.filter(Level level,
ReadOnlyStringMap contextMap) |
protected boolean |
MapFilter.filter(ReadOnlyStringMap data) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
JdkMapAdapterStringMap
Provides a read-only
StringMap view of a Map<String, String> . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyStringMap |
MutableLogEvent.getContextData() |
ReadOnlyStringMap |
Log4jLogEvent.getContextData()
Returns the
ReadOnlyStringMap containing context data key-value pairs. |
ReadOnlyStringMap |
ThreadContextDataInjector.ForDefaultThreadContextMap.rawContextData() |
ReadOnlyStringMap |
ThreadContextDataInjector.ForGarbageFreeThreadContextMap.rawContextData() |
ReadOnlyStringMap |
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.rawContextData() |
Modifier and Type | Method and Description |
---|---|
private static StringMap |
Log4jLogEvent.LogEventProxy.memento(ReadOnlyStringMap data) |
void |
JdkMapAdapterStringMap.putAll(ReadOnlyStringMap source) |
Modifier and Type | Method and Description |
---|---|
private ReadOnlyStringMap |
ContextMapLookup.currentContextData() |
Modifier and Type | Method and Description |
---|---|
private static void |
MdcPatternConverter.appendFully(ReadOnlyStringMap contextData,
java.lang.StringBuilder toAppendTo) |
private static void |
MdcPatternConverter.appendSelectedKeys(java.lang.String[] keys,
ReadOnlyStringMap contextData,
java.lang.StringBuilder toAppendTo) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultThreadContextMap
The actual ThreadContext Map.
|
Modifier and Type | Method and Description |
---|---|
protected StringMap |
GarbageFreeSortedArrayThreadContextMap.createStringMap(ReadOnlyStringMap original)
Returns an implementation of the
StringMap used to back this thread context map, pre-populated
with the contents of the specified context data. |
protected StringMap |
CopyOnWriteSortedArrayThreadContextMap.createStringMap(ReadOnlyStringMap original)
Returns an implementation of the
StringMap used to back this thread context map, pre-populated
with the contents of the specified context data. |
Modifier and Type | Interface and Description |
---|---|
interface |
IndexedReadOnlyStringMap
An extension of
ReadOnlyStringMap that imposes a total ordering on its keys. |
interface |
IndexedStringMap
An extension of
StringMap that imposes a total ordering on its keys. |
interface |
StringMap
Exposes methods to add and remove key-value pairs to and from
ReadOnlyStringMap . |
Modifier and Type | Class and Description |
---|---|
class |
SortedArrayStringMap
Consider this class private.
Array-based implementation of the
ReadOnlyStringMap interface. |
Modifier and Type | Method and Description |
---|---|
void |
StringMap.putAll(ReadOnlyStringMap source)
Copy all key-value pairs from the specified
ReadOnlyStringMap into this StringMap . |
void |
SortedArrayStringMap.putAll(ReadOnlyStringMap source) |
Constructor and Description |
---|
SortedArrayStringMap(ReadOnlyStringMap other) |