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.defaultFormatters
private final PatternFormatter[]
MarkerPatternSelector.defaultFormatters
private final PatternFormatter[]
ScriptPatternSelector.defaultFormatters
private final PatternFormatter[]
PatternLayout.PatternFormatterPatternSerializer.formatters
Fields in org.apache.logging.log4j.core.layout with type parameters of type PatternFormatterModifier and TypeFieldDescriptionprivate final Map
<String, List<PatternFormatter>> Rfc5424Layout.FieldFormatter.delegateMap
private final List
<PatternFormatter> Rfc5424Layout.exceptionFormatters
Methods 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 PatternFormatterModifierConstructorDescriptionprivate
NoFormatPatternSerializer
(PatternFormatter[] formatters) private
PatternFormatterPatternSerializer
(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_ARRAY
The empty array.Fields in org.apache.logging.log4j.core.pattern with type parameters of type PatternFormatterModifier and TypeFieldDescriptionprivate final List
<PatternFormatter> AbstractStyleNameConverter.formatters
private final List
<PatternFormatter> EncodingPatternConverter.formatters
private final List
<PatternFormatter> EqualsBaseReplacementConverter.formatters
private final List
<PatternFormatter> MaxLengthConverter.formatters
private final List
<PatternFormatter> RegexReplacementConverter.formatters
protected final List
<PatternFormatter> ThrowablePatternConverter.formatters
ListsPatternFormatter
s for the suffix attribute.private final List
<PatternFormatter> VariablesNotEmptyReplacementConverter.formatters
private final List
<PatternFormatter> HighlightConverter.patternFormatters
private final List
<PatternFormatter> StyleConverter.patternFormatters
private final List
<PatternFormatter> EqualsBaseReplacementConverter.substitutionFormatters
Methods 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 PatternFormatterModifierConstructorDescriptionprotected
AbstractStyleNameConverter
(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.private
EncodingPatternConverter
(List<PatternFormatter> formatters, EncodingPatternConverter.EscapeFormat escapeFormat) Private constructor.protected
EqualsBaseReplacementConverter
(String name, String style, List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.private
EqualsIgnoreCaseReplacementConverter
(List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.private
EqualsReplacementConverter
(List<PatternFormatter> formatters, String testString, String substitution, PatternParser parser) Construct the converter.Green
(List<PatternFormatter> formatters, String styling) Constructs the converter.private
HighlightConverter
(List<PatternFormatter> patternFormatters, Map<String, String> levelStyles, boolean noAnsi) Construct the converter.Magenta
(List<PatternFormatter> formatters, String styling) Constructs the converter.private
MaxLengthConverter
(List<PatternFormatter> formatters, int maxLength) Construct the converter.Red
(List<PatternFormatter> formatters, String styling) Constructs the converter.private
RegexReplacementConverter
(List<PatternFormatter> formatters, Pattern pattern, String substitution) Construct the converter.private
StyleConverter
(List<PatternFormatter> patternFormatters, String style, boolean noAnsi) Constructs the converter.private
VariablesNotEmptyReplacementConverter
(List<PatternFormatter> formatters) Constructs the converter.White
(List<PatternFormatter> formatters, String styling) Constructs the converter.Yellow
(List<PatternFormatter> formatters, String styling) Constructs the converter.