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.
ClassNamePatternConverter Formats the class name of the site of the logging request.
DatePatternConverter Convert and format the event's date in a StringBuffer.
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 Return the event's line location information in a StringBuffer.
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.
IntegerPatternConverter Formats an integer.
LevelPatternConverter Return the event's level in a StringBuffer.
LineLocationPatternConverter Return the event's line location information in a StringBuffer.
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 Return the event's rendered message in a StringBuffer.
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 Return the event's rendered message in a StringBuffer.
MethodLocationPatternConverter Return the event's line location information in a StringBuffer.
NameAbbreviator NameAbbreviator generates abbreviated logger and class names.
NamePatternConverter Base class for other pattern converters which can return only parts of their name.
NDCPatternConverter Return the event's NDC in a StringBuffer.
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 Return 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.
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.
 

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-2012 Apache Software Foundation. All Rights Reserved.