org.objectweb.util.monolog.file.api
Interface Pattern
- PatternConverter, PatternConverter
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.
- Sebastien Chassande-Barrioz
static char | DATE - This character represents the date where the message has been logged
|
static char | LEVEL - This character represents the level name of the message
|
static char | LINE_NUMBER - This character represents the line number in the source code where the
log method was called.
|
static char | MESSAGE - The message which has been logged
|
static char | METHOD - This character represents the method in which the log method was called.
|
static char | NEW_LINE - This character represents a new line.
|
static char | OBJECT - This character represents the class name in which the log method was
called.
|
static char | PREFIX - This character is the prefix of all special character
|
static char | THREAD - The theard name which has logged the message.
|
static char | TOPIC - This character represents the topic of the logger
|
DATE
public static final char DATE
This character represents the date where the message has been logged
LEVEL
public static final char LEVEL
This character represents the level name of the message
LINE_NUMBER
public static final char LINE_NUMBER
This character represents the line number in the source code where the
log method was called. Generating caller location information is
extremly slow.
MESSAGE
public static final char MESSAGE
The message which has been logged
METHOD
public static final char METHOD
This character represents the method in which the log method was called.
Generating caller location information is extremly slow.
NEW_LINE
public static final char NEW_LINE
This character represents a new line.
OBJECT
public static final char OBJECT
This character represents the class name in which the log method was
called. Generating caller location information is extremly slow.
PREFIX
public static final char PREFIX
This character is the prefix of all special character
THREAD
public static final char THREAD
The theard name which has logged the message.
TOPIC
public static final char TOPIC
This character represents the topic of the logger