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.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.jackson |
Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson
library.
|
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.
|
org.apache.logging.slf4j |
SLF4J support.
|
Modifier and Type | Method | Description |
---|---|---|
StringMap |
ContextDataInjector.injectContextData(List<Property> properties,
StringMap reusable) |
Returns a
StringMap object initialized with the specified properties and the appropriate
context data. |
Modifier and Type | Method | Description |
---|---|---|
StringMap |
ContextDataInjector.injectContextData(List<Property> properties,
StringMap reusable) |
Returns a
StringMap object initialized with the specified properties and the appropriate
context data. |
Modifier and Type | Method | Description |
---|---|---|
void |
RingBufferLogEvent.setValues(AsyncLogger anAsyncLogger,
String aLoggerName,
Marker aMarker,
String theFqcn,
Level aLevel,
Message msg,
Throwable aThrowable,
StringMap mutableContextData,
ThreadContext.ContextStack aContextStack,
long threadId,
String threadName,
int threadPriority,
StackTraceElement aLocation,
Clock clock,
NanoClock nanoClock) |
Modifier and Type | Method | Description |
---|---|---|
static StringMap |
ContextDataFactory.createContextData() |
|
static StringMap |
ContextDataFactory.createContextData(int initialCapacity) |
|
static StringMap |
ContextDataFactory.createContextData(Map<String,String> context) |
|
static StringMap |
ContextDataFactory.createContextData(ReadOnlyStringMap readOnlyStringMap) |
|
static StringMap |
ContextDataFactory.emptyFrozenContextData() |
An empty pre-frozen IndexedStringMap.
|
StringMap |
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData(List<Property> props,
StringMap ignore) |
If there are no configuration properties, this injector will return the thread context's internal data
structure.
|
StringMap |
ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData(List<Property> props,
StringMap ignore) |
Puts key-value pairs from both the specified list of properties as well as the thread context into the
specified reusable StringMap.
|
StringMap |
ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData(List<Property> props,
StringMap reusable) |
Puts key-value pairs from both the specified list of properties as well as the thread context into the
specified reusable StringMap.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
ThreadContextDataInjector.copyProperties(List<Property> properties,
StringMap result) |
Copies key-value pairs from the specified property list into the specified
StringMap . |
StringMap |
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData(List<Property> props,
StringMap ignore) |
If there are no configuration properties, this injector will return the thread context's internal data
structure.
|
StringMap |
ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData(List<Property> props,
StringMap ignore) |
Puts key-value pairs from both the specified list of properties as well as the thread context into the
specified reusable StringMap.
|
StringMap |
ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData(List<Property> props,
StringMap reusable) |
Puts key-value pairs from both the specified list of properties as well as the thread context into the
specified reusable StringMap.
|
Log4jLogEvent.Builder |
Log4jLogEvent.Builder.setContextData(StringMap contextData) |
|
void |
MutableLogEvent.setContextData(StringMap mutableContextData) |
Modifier and Type | Method | Description |
---|---|---|
StringMap |
ContextDataAsEntryListDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
|
StringMap |
ContextDataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Modifier and Type | Method | Description |
---|---|---|
StringMap |
ReadOnlyThreadContextMap.getReadOnlyContextData() |
Returns the context data for reading.
|
StringMap |
ThreadContextMap2.getReadOnlyContextData() |
Returns the context data for reading.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
IndexedStringMap |
An extension of
StringMap that imposes a total ordering on its keys. |
Modifier and Type | Class | Description |
---|---|---|
class |
SortedArrayStringMap |
Consider this class private.
Array-based implementation of the
ReadOnlyStringMap interface. |
Modifier and Type | Method | Description |
---|---|---|
StringMap |
MDCContextMap.getReadOnlyContextData() |
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.