Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
org.apache.logging.log4j.core.appender.db.jpa.converter |
The converters in this package implement the JPA 2.1 mechanism for converting non-standard types to and from
database fields.
|
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.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.
|
Modifier and Type | Method | Description |
---|---|---|
ReadOnlyStringMap |
AbstractLogEvent.getContextData() |
|
ReadOnlyStringMap |
LogEvent.getContextData() |
Returns the
ReadOnlyStringMap object holding context data key-value pairs. |
ReadOnlyStringMap |
ContextDataInjector.rawContextData() |
Returns a
ReadOnlyStringMap object reflecting the current state of the context. |
Modifier and Type | Method | Description |
---|---|---|
ReadOnlyStringMap |
AbstractLogEventWrapperEntity.getContextData() |
Gets the context map.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractLogEventWrapperEntity.setContextData(ReadOnlyStringMap contextData) |
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
|
Modifier and Type | Method | Description |
---|---|---|
ReadOnlyStringMap |
ContextDataAttributeConverter.convertToEntityAttribute(String s) |
|
ReadOnlyStringMap |
ContextDataJsonAttributeConverter.convertToEntityAttribute(String s) |
Modifier and Type | Method | Description |
---|---|---|
String |
ContextDataAttributeConverter.convertToDatabaseColumn(ReadOnlyStringMap contextData) |
|
String |
ContextDataJsonAttributeConverter.convertToDatabaseColumn(ReadOnlyStringMap contextData) |
Modifier and Type | Method | Description |
---|---|---|
ReadOnlyStringMap |
RingBufferLogEvent.getContextData() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
MapFilter.filter(ReadOnlyStringMap data) |
Modifier and Type | Method | Description |
---|---|---|
ReadOnlyStringMap |
Log4jLogEvent.getContextData() |
Returns the
ReadOnlyStringMap containing context data key-value pairs. |
ReadOnlyStringMap |
MutableLogEvent.getContextData() |
|
ReadOnlyStringMap |
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.rawContextData() |
|
ReadOnlyStringMap |
ThreadContextDataInjector.ForDefaultThreadContextMap.rawContextData() |
|
ReadOnlyStringMap |
ThreadContextDataInjector.ForGarbageFreeThreadContextMap.rawContextData() |
Modifier and Type | Method | Description |
---|---|---|
void |
ContextDataAsEntryListSerializer.serialize(ReadOnlyStringMap contextData,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
|
void |
ContextDataSerializer.serialize(ReadOnlyStringMap contextData,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultThreadContextMap |
The actual ThreadContext Map.
|
Modifier and Type | Interface | 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 | Description |
---|---|---|
class |
SortedArrayStringMap |
Consider this class private.
Array-based implementation of the
ReadOnlyStringMap interface. |
Modifier and Type | Method | Description |
---|---|---|
void |
SortedArrayStringMap.putAll(ReadOnlyStringMap source) |
|
void |
StringMap.putAll(ReadOnlyStringMap source) |
Copy all key-value pairs from the specified
ReadOnlyStringMap into this StringMap . |
Constructor | Description |
---|---|
SortedArrayStringMap(ReadOnlyStringMap other) |
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.