Uses of Class
org.apache.logging.log4j.core.util.KeyValuePair
Packages that use KeyValuePair
Package
Description
The NoSQL Appender supports writing log events to NoSQL databases.
Apache Flume Appender.
Log4j 2 Filter support.
Log4j 2 Layout support.
Log4j 2 helper classes.
-
Uses of KeyValuePair in org.apache.logging.log4j.core.appender.nosql
Methods in org.apache.logging.log4j.core.appender.nosql with parameters of type KeyValuePairModifier and TypeMethodDescriptionstatic NoSqlDatabaseManager<?>
NoSqlDatabaseManager.getNoSqlDatabaseManager
(String name, int bufferSize, NoSqlProvider<?> provider, KeyValuePair[] additionalFields, Configuration configuration) Creates a NoSQL manager for use within theNoSqlAppender
, or returns a suitable one if it already exists. -
Uses of KeyValuePair in org.apache.logging.log4j.core.appender.rewrite
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type KeyValuePairModifier and TypeMethodDescriptionstatic 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. -
Uses of KeyValuePair in org.apache.logging.log4j.core.filter
Methods in org.apache.logging.log4j.core.filter with parameters of type KeyValuePairModifier and TypeMethodDescriptionstatic DynamicThresholdFilter
DynamicThresholdFilter.createFilter
(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch) Creates a DynamicThresholdFilter.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 ThreadContextMapFilter
ThreadContextMapFilter.createFilter
(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch) -
Uses of KeyValuePair in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return KeyValuePairModifier and TypeMethodDescriptionGelfLayout.Builder.getAdditionalFields()
JsonLayout.Builder.getAdditionalFields()
Methods in org.apache.logging.log4j.core.layout with parameters of type KeyValuePairModifier and TypeMethodDescriptionstatic GelfLayout
GelfLayout.createLayout
(String host, KeyValuePair[] additionalFields, GelfLayout.CompressionType compressionType, int compressionThreshold, boolean includeStacktrace) Deprecated.static LoggerFields
LoggerFields.createLoggerFields
(KeyValuePair[] keyValuePairs, String sdId, String enterpriseId, boolean discardIfAllFieldsAreEmpty) Create a LoggerFields from KeyValuePairs.GelfLayout.Builder.setAdditionalFields
(KeyValuePair[] additionalFields) Additional fields to set on each log event.JsonLayout.Builder.setAdditionalFields
(KeyValuePair[] additionalFields) Constructors in org.apache.logging.log4j.core.layout with parameters of type KeyValuePairModifierConstructorDescriptionGelfLayout
(String host, KeyValuePair[] additionalFields, GelfLayout.CompressionType compressionType, int compressionThreshold, boolean includeStacktrace) Deprecated.UseGelfLayout.newBuilder()
instead -
Uses of KeyValuePair in org.apache.logging.log4j.core.util
Fields in org.apache.logging.log4j.core.util declared as KeyValuePairModifier and TypeFieldDescriptionstatic final KeyValuePair[]
KeyValuePair.EMPTY_ARRAY
The empty array.Methods in org.apache.logging.log4j.core.util that return KeyValuePair
GelfLayout.newBuilder()
instead