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
Converts and formats the event's date in a StringBuilder.
|
class |
EncodingPatternConverter
Converter that encodes the output from a pattern using a specified format.
|
class |
EndOfBatchPatternConverter
Formats the EndOfBatch.
|
class |
EqualsBaseReplacementConverter
Equals pattern converter.
|
class |
EqualsIgnoreCaseReplacementConverter
Equals ignore case pattern converter.
|
class |
EqualsReplacementConverter
Equals pattern converter.
|
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 |
LoggerFqcnPatternConverter
Formats the Logger FQCN.
|
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 events' full marker string in a StringBuilder.
|
class |
MarkerSimpleNamePatternConverter
Appends an event's maker name to a StringBuilder.
|
class |
MaxLengthConverter
Max length pattern converter.
|
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 |
NanoTimePatternConverter
Converts and formats the event's nanoTime in a StringBuilder.
|
class |
NdcPatternConverter
Returns the event's NDC in a StringBuilder.
|
class |
ProcessIdPatternConverter |
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 |
ThreadIdPatternConverter
Formats the event thread ID.
|
class |
ThreadNamePatternConverter
Formats the event thread name.
|
class |
ThreadPriorityPatternConverter
Formats the event thread priority.
|
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.
|
class |
VariablesNotEmptyReplacementConverter
VariablesNotEmpty pattern converter.
|
Modifier and Type | Method and Description |
---|---|
LogEventPatternConverter |
PatternFormatter.getConverter() |
Constructor and Description |
---|
PatternFormatter(LogEventPatternConverter converter,
FormattingInfo field) |
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.