Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
Modifier and Type | Method and Description |
---|---|
static void |
EventLogger.logEvent(StructuredDataMessage msg)
Logs events with a level of ALL.
|
static void |
EventLogger.logEvent(StructuredDataMessage msg,
Level level)
Logs events and specify the logging level.
|
Modifier and Type | Method and Description |
---|---|
protected Filter.Result |
StructuredDataFilter.filter(StructuredDataMessage message) |
private java.lang.StringBuilder |
StructuredDataFilter.getValue(StructuredDataMessage data,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
StructuredDataMessage |
StructuredDataMessage.with(java.lang.String key,
java.lang.String value)
Add an item to the data Map in fluent style.
|
Constructor and Description |
---|
StructuredDataMessage(StructuredDataMessage msg,
java.util.Map<java.lang.String,java.lang.String> map)
Constructor based on a StructuredDataMessage.
|