org.objectweb.util.monolog.file.api
Interface Pattern

All Known Implementing Classes:
PatternConverter, PatternConverter

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.

Author:
Sebastien Chassande-Barrioz

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

LEVEL

static final char LEVEL
This character represents the level name of the message

See Also:
Constant Field Values

TOPIC

static final char TOPIC
This character represents the topic of the logger

See Also:
Constant Field Values

DATE

static final char DATE
This character represents the date where the message has been logged

See Also:
Constant Field Values

THREAD

static final char THREAD
The theard name which has logged the message.

See Also:
Constant Field Values

MESSAGE

static final char MESSAGE
The message which has been logged

See Also:
Constant Field Values

METHOD

static final char METHOD
This character represents the method in which the log method was called. Generating caller location information is extremly slow.

See Also:
Constant Field Values

OBJECT

static final char OBJECT
This character represents the class name in which the log method was called. Generating caller location information is extremly slow.

See Also:
Constant Field Values

LINE_NUMBER

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.

See Also:
Constant Field Values

PREFIX

static final char PREFIX
This character is the prefix of all special character

See Also:
Constant Field Values

NEW_LINE

static final char NEW_LINE
This character represents a new line.

See Also:
Constant Field Values