Package org.apache.logging.log4j.core.pattern

Provides classes implementing format specifiers in conversion patterns.

See:
          Description

Interface Summary
ArrayPatternConverter Interface implemented by PatternConverters that accept an array of objects when formatting.
PatternConverter Interface that all PatternConverters must implement.
 

Class Summary
AbstractPatternConverter AbstractPatternConverter is an abstract class that provides the formatting functionality that derived classes need.
AbstractStyleNameConverter Style pattern converter.
AbstractStyleNameConverter.Black Black style pattern converter.
AbstractStyleNameConverter.Blue Blue style pattern converter.
AbstractStyleNameConverter.Cyan Cyan style pattern converter.
AbstractStyleNameConverter.Green Green style pattern converter.
AbstractStyleNameConverter.Magenta Magenta style pattern converter.
AbstractStyleNameConverter.Red Red style pattern converter.
AbstractStyleNameConverter.White White style pattern converter.
AbstractStyleNameConverter.Yellow Yellow style pattern converter.
ClassNamePatternConverter Formats the class name of the site of the logging request.
DatePatternConverter Convert and format the event's date in a StringBuilder.
EncodingPatternConverter Returns the event's rendered message in a StringBuilder.
ExtendedThrowablePatternConverter Outputs the Throwable portion of the LoggingEvent as a full stacktrace 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.
FileDatePatternConverter Formats an date by delegating to DatePatternConverter.
FileLocationPatternConverter Returns the event's line location information in a StringBuilder.
FormattingInfo Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
FullLocationPatternConverter Format the event's line location information.
HighlightConverter Highlight pattern converter.
IntegerPatternConverter Formats an integer.
LevelPatternConverter Returns the event's level in a StringBuilder.
LineLocationPatternConverter Returns the event's line location information in a StringBuilder.
LineSeparatorPatternConverter Formats a line separator.
LiteralPatternConverter Formats a string literal.
LogEventPatternConverter LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.
LoggerPatternConverter Formats a logger name.
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.
MarkerPatternConverter Returns the event's rendered message in a StringBuilder.
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.
MessagePatternConverter Returns the event's rendered message in a StringBuilder.
MethodLocationPatternConverter Returns the event's line location information in a StringBuilder.
NameAbbreviator NameAbbreviator generates abbreviated logger and class names.
NamePatternConverter Abstract base class for other pattern converters which can return only parts of their name.
NdcPatternConverter Returns the event's NDC in a StringBuilder.
PatternFormatter  
PatternParser Most of the work of the PatternLayout class is delegated to the PatternParser class.
RegexReplacement Replace tokens in the LogEvent message.
RegexReplacementConverter Replacement pattern converter.
RelativeTimePatternConverter Returns the relative time in milliseconds since JVM Startup.
RootThrowablePatternConverter Outputs the Throwable portion of the LoggingEvent as a full stacktrace 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.
SequenceNumberPatternConverter Formats the event sequence number.
StyleConverter Style pattern converter.
ThreadPatternConverter Formats the event thread name.
ThrowablePatternConverter Outputs the Throwable portion of the LoggingEvent as a full stacktrace 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.
UuidPatternConverter Formats the event sequence number.
 

Enum Summary
AnsiEscape Converts text into ANSI escape sequences.
 

Annotation Types Summary
ConverterKeys Identifies the keys that are associated with a PatternConverter.
 

Package org.apache.logging.log4j.core.pattern Description

Provides classes implementing format specifiers in conversion patterns.



Copyright © 1999-2014 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.