|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that defines a log target (a consumer of log messages). Classes which
implement this interface can be registered with the Log class
and will then receive logging messages generated by the code.
| Field Summary | |
static int |
DEBUG
Loglevel DEBUG. |
static int |
ERROR
Loglevel ERROR. |
static int |
INFO
Loglevel INFO. |
static java.lang.String[] |
LEVELS
Strings for the log levels. |
static int |
WARN
Loglevel WARN. |
| Method Summary | |
void |
log(int level,
java.lang.Object message)
Logs a message at a specified log level. |
void |
log(int level,
java.lang.Object message,
java.lang.Exception e)
Logs a message at a specified log level. |
| Field Detail |
public static final int ERROR
public static final int WARN
public static final int INFO
public static final int DEBUG
public static final java.lang.String[] LEVELS
| Method Detail |
public void log(int level,
java.lang.Object message)
level - the log level.message - the log message.
public void log(int level,
java.lang.Object message,
java.lang.Exception e)
level - the log level.message - the log message.e - the exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||