Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rewrite |
Apache Flume Appender.
|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Method and Description |
---|---|
static MapRewritePolicy |
MapRewritePolicy.createPolicy(String mode,
KeyValuePair[] pairs)
The factory method to create the MapRewritePolicy.
|
Modifier and Type | Method and Description |
---|---|
static StructuredDataFilter |
StructuredDataFilter.createFilter(KeyValuePair[] pairs,
String oper,
Filter.Result match,
Filter.Result mismatch)
Create the StructuredDataFilter.
|
static ThreadContextMapFilter |
ThreadContextMapFilter.createFilter(KeyValuePair[] pairs,
String oper,
Filter.Result match,
Filter.Result mismatch) |
static MapFilter |
MapFilter.createFilter(KeyValuePair[] pairs,
String oper,
Filter.Result match,
Filter.Result mismatch) |
static DynamicThresholdFilter |
DynamicThresholdFilter.createFilter(String key,
KeyValuePair[] pairs,
org.apache.logging.log4j.Level defaultThreshold,
Filter.Result onMatch,
Filter.Result onMismatch)
Create the DynamicThresholdFilter.
|
Modifier and Type | Method and Description |
---|---|
static GelfLayout |
GelfLayout.createLayout(String host,
KeyValuePair[] additionalFields,
GelfLayout.CompressionType compressionType,
int compressionThreshold) |
static LoggerFields |
LoggerFields.createLoggerFields(KeyValuePair[] keyValuePairs,
String sdId,
String enterpriseId,
boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.
|
Constructor and Description |
---|
GelfLayout(String host,
KeyValuePair[] additionalFields,
GelfLayout.CompressionType compressionType,
int compressionThreshold) |
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
KeyValuePair.Builder.build() |
Copyright © 1999-2021 Apache Software Foundation. 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.