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 LoggerNameLevelRewritePolicy |
LoggerNameLevelRewritePolicy.createPolicy(String loggerNamePrefix,
KeyValuePair[] levelPairs)
Creates a policy to rewrite levels for a given logger name.
|
static MapRewritePolicy |
MapRewritePolicy.createPolicy(String mode,
KeyValuePair[] pairs)
The factory method to create the MapRewritePolicy.
|
Modifier and Type | Method and Description |
---|---|
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 StructuredDataFilter |
StructuredDataFilter.createFilter(KeyValuePair[] pairs,
String oper,
Filter.Result match,
Filter.Result mismatch)
Creates the StructuredDataFilter.
|
static DynamicThresholdFilter |
DynamicThresholdFilter.createFilter(String key,
KeyValuePair[] pairs,
Level defaultThreshold,
Filter.Result onMatch,
Filter.Result onMismatch)
Creates a DynamicThresholdFilter.
|
Modifier and Type | Method and Description |
---|---|
static LoggerFields |
LoggerFields.createLoggerFields(KeyValuePair[] keyValuePairs,
String sdId,
String enterpriseId,
boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.
|
Modifier and Type | Field and Description |
---|---|
static KeyValuePair[] |
KeyValuePair.EMPTY_ARRAY
The empty array.
|
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
KeyValuePair.Builder.build() |
Copyright © 1999-2021 The 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.