Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
Modifier and Type | Method and Description |
---|---|
PatternFormatter[] |
ScriptPatternSelector.getFormatters(LogEvent event) |
PatternFormatter[] |
MarkerPatternSelector.getFormatters(LogEvent event) |
PatternFormatter[] |
LevelPatternSelector.getFormatters(LogEvent event) |
PatternFormatter[] |
PatternSelector.getFormatters(LogEvent event) |
Modifier and Type | Field and Description |
---|---|
static PatternFormatter[] |
PatternFormatter.EMPTY_ARRAY
The empty array.
|
Modifier and Type | Field and Description |
---|---|
protected List<PatternFormatter> |
ThrowablePatternConverter.formatters
Lists
PatternFormatter s for the suffix attribute. |
Modifier and Type | Method and Description |
---|---|
List<PatternFormatter> |
PatternParser.parse(String pattern) |
List<PatternFormatter> |
PatternParser.parse(String pattern,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi) |
List<PatternFormatter> |
PatternParser.parse(String pattern,
boolean alwaysWriteExceptions,
boolean disableAnsi,
boolean noConsoleNoAnsi) |
Constructor and Description |
---|
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.
|
EqualsBaseReplacementConverter(String name,
String style,
List<PatternFormatter> formatters,
String testString,
String substitution,
PatternParser parser)
Construct the converter.
|
Green(List<PatternFormatter> formatters,
String styling)
Constructs the converter.
|
Magenta(List<PatternFormatter> formatters,
String styling)
Constructs the converter.
|
Red(List<PatternFormatter> formatters,
String styling)
Constructs the converter.
|
White(List<PatternFormatter> formatters,
String styling)
Constructs the converter.
|
Yellow(List<PatternFormatter> formatters,
String styling)
Constructs the converter.
|
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.