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(java.lang.String mode,
KeyValuePair[] pairs)
The factory method to create the MapRewritePolicy.
|
static LoggerNameLevelRewritePolicy |
LoggerNameLevelRewritePolicy.createPolicy(java.lang.String loggerNamePrefix,
KeyValuePair[] levelPairs)
Creates a policy to rewrite levels for a given logger name.
|
Modifier and Type | Method and Description |
---|---|
static ThreadContextMapFilter |
ThreadContextMapFilter.createFilter(KeyValuePair[] pairs,
java.lang.String oper,
Filter.Result match,
Filter.Result mismatch) |
static StructuredDataFilter |
StructuredDataFilter.createFilter(KeyValuePair[] pairs,
java.lang.String oper,
Filter.Result match,
Filter.Result mismatch)
Create the StructuredDataFilter.
|
static MapFilter |
MapFilter.createFilter(KeyValuePair[] pairs,
java.lang.String oper,
Filter.Result match,
Filter.Result mismatch) |
static DynamicThresholdFilter |
DynamicThresholdFilter.createFilter(java.lang.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,
java.lang.String sdId,
java.lang.String enterpriseId,
boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.
|
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
KeyValuePair.Builder.build() |