| org.objectweb.util.monolog.file.api.Pattern
All known Subclasses: org.objectweb.util.monolog.wrapper.log4j.PatternConverter, org.objectweb.util.monolog.wrapper.log4jMini.PatternConverter,
Pattern | public interface Pattern (Code) | | This interface decribes the special characters used to describe a pattern.
All special characters must be prefix by '%'. Here is an example of
pattern:
%l %t %m%n
This pattern will print on a single line the level, the topic name and the
message.
author: Sebastien Chassande-Barrioz |
Field Summary | |
char | DATE | char | LEVEL | char | LINE_NUMBER This character represents the line number in the source code where the
log method was called. | char | MESSAGE | char | METHOD This character represents the method in which the log method was called. | char | NEW_LINE This character represents a new line. | char | OBJECT This character represents the class name in which the log method was
called. | char | PREFIX | char | THREAD The theard name which has logged the message. | char | TOPIC |
DATE | char DATE(Code) | | This character represents the date where the message has been logged
|
LEVEL | char LEVEL(Code) | | This character represents the level name of the message
|
LINE_NUMBER | char LINE_NUMBER(Code) | | This character represents the line number in the source code where the
log method was called. Generating caller location information is
extremly slow.
|
MESSAGE | char MESSAGE(Code) | | The message which has been logged
|
METHOD | char METHOD(Code) | | This character represents the method in which the log method was called.
Generating caller location information is extremly slow.
|
NEW_LINE | char NEW_LINE(Code) | | This character represents a new line.
|
OBJECT | char OBJECT(Code) | | This character represents the class name in which the log method was
called. Generating caller location information is extremly slow.
|
PREFIX | char PREFIX(Code) | | This character is the prefix of all special character
|
THREAD | char THREAD(Code) | | The theard name which has logged the message.
|
TOPIC | char TOPIC(Code) | | This character represents the topic of the logger
|
|
|