Package | Description |
---|---|
org.apache.log4j.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNamePatternConverter
Formats the class name of the site of the logging request.
|
class |
DatePatternConverter
Convert and format the event's date in a StringBuffer.
|
class |
FileLocationPatternConverter
Return the event's line location information in a StringBuffer.
|
class |
FullLocationPatternConverter
Format the event's line location information.
|
class |
IntegerPatternConverter
Formats an integer.
|
class |
LevelPatternConverter
Return the event's level in a StringBuffer.
|
class |
LineLocationPatternConverter
Return the event's line location information in a StringBuffer.
|
class |
LineSeparatorPatternConverter
Formats a line separator.
|
class |
LiteralPatternConverter
Formats a string literal.
|
class |
LoggerPatternConverter
Formats a logger name.
|
class |
LoggingEventPatternConverter
LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of
LoggingEvent.
|
class |
MessagePatternConverter
Return the event's rendered message in a StringBuffer.
|
class |
MethodLocationPatternConverter
Return the event's line location information in a StringBuffer.
|
class |
NamePatternConverter
Base class for other pattern converters which can return only parts of their name.
|
class |
NDCPatternConverter
Return the event's NDC in a StringBuffer.
|
class |
PropertiesPatternConverter
Able to handle the contents of the LoggingEvent's Property bundle 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 |
RelativeTimePatternConverter
Return the relative time in milliseconds since loading of the LoggingEvent class.
|
class |
SequenceNumberPatternConverter
Formats the event sequence number.
|
class |
ThreadPatternConverter
Formats the event thread name.
|
class |
ThrowableInformationPatternConverter
Outputs the ThrowableInformation portion of the LoggingEvent.
|
Modifier and Type | Method and Description |
---|---|
static PatternConverter |
FileDatePatternConverter.newInstance(String[] options)
Obtains an instance of pattern converter.
|
Copyright © 1999–2023 QOS.CH Sarl (Switzerland). All rights reserved.