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 and 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 and 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 and 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,
long aCurrentTimeMillis,
long aNanoTime) |
Modifier and Type | Method and Description |
---|---|
static StringMap |
ContextDataFactory.createContextData() |
static StringMap |
ContextDataFactory.createContextData(int initialCapacity) |
static StringMap |
ContextDataFactory.emptyFrozenContextData()
An empty pre-frozen StringMap.
|
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.
|
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.
|
Modifier and Type | Method and 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.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.
|
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.
|
void |
MutableLogEvent.setContextData(StringMap mutableContextData) |
Log4jLogEvent.Builder |
Log4jLogEvent.Builder.setContextData(StringMap contextData) |
Modifier and Type | Method and Description |
---|---|
StringMap |
ContextDataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
StringMap |
ContextDataAsEntryListDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
StringMap |
ThreadContextMap2.getReadOnlyContextData()
Returns the context data for reading.
|
StringMap |
ReadOnlyThreadContextMap.getReadOnlyContextData()
Returns the context data for reading.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IndexedStringMap
An extension of
StringMap that imposes a total ordering on its keys. |
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 |
---|---|
StringMap |
MDCContextMap.getReadOnlyContextData() |
Copyright © 1999-2017. 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.