Uses of Class
org.apache.logging.log4j.core.pattern.PatternFormatter
Packages that use PatternFormatter
Package
Description
Log4j 2 Layout support.
Provides classes implementing format specifiers in conversion patterns.
-
Uses of PatternFormatter in org.apache.logging.log4j.core.layout
Fields in org.apache.logging.log4j.core.layout declared as PatternFormatterModifier and TypeFieldDescriptionprivate final PatternFormatter[]LevelPatternSelector.defaultFormattersprivate final PatternFormatter[]MarkerPatternSelector.defaultFormattersprivate final PatternFormatter[]ScriptPatternSelector.defaultFormattersprivate final PatternFormatter[]PatternLayout.PatternFormatterPatternSerializer.formattersFields in org.apache.logging.log4j.core.layout with type parameters of type PatternFormatterModifier and TypeFieldDescriptionprivate final Map<String, List<PatternFormatter>> Rfc5424Layout.FieldFormatter.delegateMapprivate final List<PatternFormatter> Rfc5424Layout.exceptionFormattersMethods in org.apache.logging.log4j.core.layout that return PatternFormatterModifier and TypeMethodDescriptionLevelPatternSelector.getFormatters(LogEvent event) MarkerPatternSelector.getFormatters(LogEvent event) PatternSelector.getFormatters(LogEvent event) ScriptPatternSelector.getFormatters(LogEvent event) Constructors in org.apache.logging.log4j.core.layout with parameters of type PatternFormatterModifierConstructorDescriptionprivateNoFormatPatternSerializer(PatternFormatter[] formatters) privatePatternFormatterPatternSerializer(PatternFormatter[] formatters) Constructor parameters in org.apache.logging.log4j.core.layout with type arguments of type PatternFormatterModifierConstructorDescriptionFieldFormatter(Map<String, List<PatternFormatter>> fieldMap, boolean discardIfEmpty) -
Uses of PatternFormatter in org.apache.logging.log4j.core.pattern
Fields in org.apache.logging.log4j.core.pattern declared as PatternFormatterModifier and TypeFieldDescriptionstatic final PatternFormatter[]PatternFormatter.EMPTY_ARRAYThe empty array.Fields in org.apache.logging.log4j.core.pattern with type parameters of type PatternFormatterModifier and TypeFieldDescriptionprivate final List<PatternFormatter> AbstractStyleNameConverter.formattersprivate final List<PatternFormatter> EncodingPatternConverter.formattersprivate final List<PatternFormatter> EqualsBaseReplacementConverter.formattersprivate final List<PatternFormatter> MaxLengthConverter.formattersprivate final List<PatternFormatter> RegexReplacementConverter.formattersprotected final List<PatternFormatter> ThrowablePatternConverter.formattersListsPatternFormatters for the suffix attribute.private final List<PatternFormatter> VariablesNotEmptyReplacementConverter.formattersprivate final List<PatternFormatter> HighlightConverter.patternFormattersprivate final List<PatternFormatter> StyleConverter.patternFormattersprivate final List<PatternFormatter> EqualsBaseReplacementConverter.substitutionFormattersMethods in org.apache.logging.log4j.core.pattern that return types with arguments of type PatternFormatterModifier and TypeMethodDescriptionPatternParser.parse(String pattern, boolean alwaysWriteExceptions, boolean disableAnsi, boolean noConsoleNoAnsi) private static List<PatternFormatter> AbstractStyleNameConverter.toPatternFormatterList(Configuration config, String[] options) Creates a list of PatternFormatter from the given configuration and options or null if no pattern is supplied.Constructor parameters in org.apache.logging.log4j.core.pattern with type arguments of type PatternFormatterModifierConstructorDescriptionprotectedAbstractStyleNameConverter(String name, List<PatternFormatter> formatters, String styling) Constructs the converter.Black(List<PatternFormatter> formatters, String styling) Constructs the converter.Blue(List<PatternFormatter> formatters, String styling) Constructs the converter.Cyan(List<PatternFormatter> formatters, String styling) Constructs the converter.privateEncodingPatternConverter(List<PatternFormatter> formatters, EncodingPatternConverter.EscapeFormat escapeFormat) Private constructor.protectedEqualsBaseReplacementConverter(String name, String style, List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.privateEqualsIgnoreCaseReplacementConverter(List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.privateEqualsReplacementConverter(List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.Green(List<PatternFormatter> formatters, String styling) Constructs the converter.privateHighlightConverter(List<PatternFormatter> patternFormatters, Map<String, String> levelStyles, boolean noAnsi) Construct the converter.Magenta(List<PatternFormatter> formatters, String styling) Constructs the converter.privateMaxLengthConverter(List<PatternFormatter> formatters, int maxLength) Construct the converter.Red(List<PatternFormatter> formatters, String styling) Constructs the converter.privateRegexReplacementConverter(List<PatternFormatter> formatters, Pattern pattern, String substitution) Construct the converter.privateStyleConverter(List<PatternFormatter> patternFormatters, String style, boolean noAnsi) Constructs the converter.privateVariablesNotEmptyReplacementConverter(List<PatternFormatter> formatters) Constructs the converter.White(List<PatternFormatter> formatters, String styling) Constructs the converter.Yellow(List<PatternFormatter> formatters, String styling) Constructs the converter.