Package | Description |
---|---|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStyleNameConverter
Style pattern converter.
|
static class |
AbstractStyleNameConverter.Black
Black style pattern converter.
|
static class |
AbstractStyleNameConverter.Blue
Blue style pattern converter.
|
static class |
AbstractStyleNameConverter.Cyan
Cyan style pattern converter.
|
static class |
AbstractStyleNameConverter.Green
Green style pattern converter.
|
static class |
AbstractStyleNameConverter.Magenta
Magenta style pattern converter.
|
static class |
AbstractStyleNameConverter.Red
Red style pattern converter.
|
static class |
AbstractStyleNameConverter.White
White style pattern converter.
|
static class |
AbstractStyleNameConverter.Yellow
Yellow style pattern converter.
|
class |
ClassNamePatternConverter
Formats the class name of the site of the logging request.
|
class |
DatePatternConverter
Convert and format the event's date in a StringBuilder.
|
class |
EncodingPatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
ExtendedThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
FileLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
FullLocationPatternConverter
Format the event's line location information.
|
class |
HighlightConverter
Highlight pattern converter.
|
class |
LevelPatternConverter
Returns the event's level in a StringBuilder.
|
class |
LineLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
LineSeparatorPatternConverter
Formats a line separator.
|
class |
LiteralPatternConverter
Formats a string literal.
|
class |
LoggerPatternConverter
Formats a logger name.
|
class |
MapPatternConverter
Able to handle the contents of the LogEvent's MapMessage and either
output the entire contents of the properties in a similar format to the
java.util.Hashtable.toString(), or to output the value of a specific key
within the Map.
|
class |
MarkerPatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
MdcPatternConverter
Able to handle the contents of the LogEvent's MDC and either
output the entire contents of the properties in a similar format to the
java.util.Hashtable.toString(), or to output the value of a specific key
within the property bundle
when this pattern converter has the option set.
|
class |
MessagePatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
MethodLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
NamePatternConverter
Abstract base class for other pattern converters which can return only parts of their name.
|
class |
NdcPatternConverter
Returns the event's NDC in a StringBuilder.
|
class |
RegexReplacementConverter
Replacement pattern converter.
|
class |
RelativeTimePatternConverter
Returns the relative time in milliseconds since JVM Startup.
|
class |
RootThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
SequenceNumberPatternConverter
Formats the event sequence number.
|
class |
StyleConverter
Style pattern converter.
|
class |
ThreadPatternConverter
Formats the event thread name.
|
class |
ThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
UuidPatternConverter
Formats the event sequence number.
|
Modifier and Type | Method and Description |
---|---|
LogEventPatternConverter |
PatternFormatter.getConverter() |
Constructor and Description |
---|
PatternFormatter(LogEventPatternConverter converter,
FormattingInfo field) |
Copyright © 1999-2021 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.