Uses of Class
org.apache.logging.log4j.core.util.KeyValuePair
-
Packages that use KeyValuePair 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. -
-
Uses of KeyValuePair in org.apache.logging.log4j.core.appender.rewrite
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type KeyValuePair Modifier and Type Method Description static LoggerNameLevelRewritePolicyLoggerNameLevelRewritePolicy. createPolicy(java.lang.String loggerNamePrefix, KeyValuePair[] levelPairs)Creates a policy to rewrite levels for a given logger name.static MapRewritePolicyMapRewritePolicy. createPolicy(java.lang.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 KeyValuePair Modifier and Type Method Description static DynamicThresholdFilterDynamicThresholdFilter. createFilter(java.lang.String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)Creates a DynamicThresholdFilter.static MapFilterMapFilter. createFilter(KeyValuePair[] pairs, java.lang.String oper, Filter.Result match, Filter.Result mismatch)static StructuredDataFilterStructuredDataFilter. createFilter(KeyValuePair[] pairs, java.lang.String oper, Filter.Result match, Filter.Result mismatch)Creates the StructuredDataFilter.static ThreadContextMapFilterThreadContextMapFilter. createFilter(KeyValuePair[] pairs, java.lang.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 KeyValuePair Modifier and Type Method Description KeyValuePair[]GelfLayout.Builder. getAdditionalFields()KeyValuePair[]JsonLayout.Builder. getAdditionalFields()Methods in org.apache.logging.log4j.core.layout with parameters of type KeyValuePair Modifier and Type Method Description static GelfLayoutGelfLayout. createLayout(java.lang.String host, KeyValuePair[] additionalFields, GelfLayout.CompressionType compressionType, int compressionThreshold, boolean includeStacktrace)Deprecated.UseGelfLayout.newBuilder()insteadstatic LoggerFieldsLoggerFields. createLoggerFields(KeyValuePair[] keyValuePairs, java.lang.String sdId, java.lang.String enterpriseId, boolean discardIfAllFieldsAreEmpty)Create a LoggerFields from KeyValuePairs.BGelfLayout.Builder. setAdditionalFields(KeyValuePair[] additionalFields)Additional fields to set on each log event.BJsonLayout.Builder. setAdditionalFields(KeyValuePair[] additionalFields)Constructors in org.apache.logging.log4j.core.layout with parameters of type KeyValuePair Constructor Description GelfLayout(java.lang.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
Methods in org.apache.logging.log4j.core.util that return KeyValuePair Modifier and Type Method Description KeyValuePairKeyValuePair.Builder. build()
-