Uses of Interface
org.apache.logging.log4j.core.layout.PatternSelector
-
Packages that use PatternSelector Package Description org.apache.logging.log4j.core.layout Log4j 2 Layout support. -
-
Uses of PatternSelector in org.apache.logging.log4j.core.layout
Classes in org.apache.logging.log4j.core.layout that implement PatternSelector Modifier and Type Class Description classLevelPatternSelectorSelects the pattern to use based on the Level in the LogEvent.classMarkerPatternSelectorSelects the pattern to use based on the Marker in the LogEvent.classScriptPatternSelectorSelects the pattern to use based on the result of executing a Script.Fields in org.apache.logging.log4j.core.layout declared as PatternSelector Modifier and Type Field Description private PatternSelectorGelfLayout.Builder. patternSelectorprivate PatternSelectorPatternLayout.Builder. patternSelectorprivate PatternSelectorPatternLayout. patternSelectorprivate PatternSelectorPatternLayout.PatternSelectorSerializer. patternSelectorprivate PatternSelectorPatternLayout.SerializerBuilder. patternSelectorMethods in org.apache.logging.log4j.core.layout with parameters of type PatternSelector Modifier and Type Method Description static PatternLayoutPatternLayout. createLayout(java.lang.String pattern, PatternSelector patternSelector, Configuration config, RegexReplacement replace, java.nio.charset.Charset charset, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, java.lang.String headerPattern, java.lang.String footerPattern)Deprecated.UsePatternLayout.newBuilder()instead.static AbstractStringLayout.SerializerPatternLayout. createSerializer(Configuration configuration, RegexReplacement replace, java.lang.String pattern, java.lang.String defaultPattern, PatternSelector patternSelector, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi)Deprecated.UsePatternLayout.newSerializerBuilder()instead.BGelfLayout.Builder. setPatternSelector(PatternSelector patternSelector)The PatternSelector to use to format the message.PatternLayout.SerializerBuilderPatternLayout.SerializerBuilder. setPatternSelector(PatternSelector patternSelector)PatternLayout.BuilderPatternLayout.Builder. withPatternSelector(PatternSelector patternSelector)Constructors in org.apache.logging.log4j.core.layout with parameters of type PatternSelector Constructor Description PatternLayout(Configuration config, RegexReplacement replace, java.lang.String eventPattern, PatternSelector patternSelector, java.nio.charset.Charset charset, boolean alwaysWriteExceptions, boolean disableAnsi, boolean noConsoleNoAnsi, java.lang.String headerPattern, java.lang.String footerPattern)Constructs a PatternLayout using the supplied conversion pattern.PatternSelectorSerializer(PatternSelector patternSelector, RegexReplacement replace)
-