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 LoggerNameLevelRewritePolicyLoggerNameLevelRewritePolicy.createPolicy(String loggerNamePrefix, KeyValuePair[] levelPairs) Creates a policy to rewrite levels for a given logger name.static MapRewritePolicyMapRewritePolicy.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 DynamicThresholdFilterDynamicThresholdFilter.createFilter(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch) Creates a DynamicThresholdFilter.static MapFilterMapFilter.createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch) static StructuredDataFilterStructuredDataFilter.createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch) Creates the StructuredDataFilter.static ThreadContextMapFilterThreadContextMapFilter.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 GelfLayoutGelfLayout.createLayout(String host, KeyValuePair[] additionalFields, GelfLayout.CompressionType compressionType, int compressionThreshold, boolean includeStacktrace) Deprecated.static LoggerFieldsLoggerFields.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_ARRAYThe empty array.Methods in org.apache.logging.log4j.core.util that return KeyValuePair
GelfLayout.newBuilder()instead