|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pattern
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.
Field Summary | |
---|---|
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 |
Field Detail |
---|
static final char LEVEL
static final char TOPIC
static final char DATE
static final char THREAD
static final char MESSAGE
static final char METHOD
static final char OBJECT
static final char LINE_NUMBER
static final char PREFIX
static final char NEW_LINE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |