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.core.layout |
Log4j 2 Layout 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 |
---|---|
private void |
Rfc5424Layout.addStructuredData(java.util.Map<java.lang.String,Rfc5424Layout.StructuredDataElement> sdElements,
StructuredDataMessage data) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<StructuredDataMessage> |
StructuredDataCollectionMessage.structuredDataMessageList |
Modifier and Type | Method and Description |
---|---|
StructuredDataMessage |
StructuredDataMessage.newInstance(java.util.Map<java.lang.String,java.lang.String> map) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<StructuredDataMessage> |
StructuredDataCollectionMessage.iterator() |
Constructor and Description |
---|
StructuredDataMessage(StructuredDataMessage msg,
java.util.Map<java.lang.String,java.lang.String> map)
Constructor based on a StructuredDataMessage.
|
Constructor and Description |
---|
StructuredDataCollectionMessage(java.util.List<StructuredDataMessage> messages) |