|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Logger
A logger interface.
Field Summary | |
---|---|
static int |
ALL
Show all normal messages and higher. |
static int |
DEBUG
Show all messages in the log. |
static int |
ERROR
Show error messages and higer. |
static int |
FATAL
Show only fatal messages. |
static int |
INFO
Show information messages and higher. |
static int |
MSG
Show important messages and above. |
static int |
WARN
Show warnings and higer. |
Method Summary | |
---|---|
void |
logError(int type,
java.lang.String error)
Log an error of given type and with given message. |
void |
logError(java.lang.String error)
Log an error. |
Field Detail |
---|
static final int DEBUG
static final int ALL
static final int INFO
static final int WARN
static final int MSG
static final int ERROR
static final int FATAL
Method Detail |
---|
void logError(java.lang.String error)
logError (ERROR, error);
void logError(int type, java.lang.String error)
type
- the error level.error
- the error message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |