|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Daml4Jess logger interface. Declare log levels and log methods.
Field Summary | |
static int |
LOG_LEVEL_BRIEF
The constant for brief informaional level log output. |
static int |
LOG_LEVEL_ERR
The constant for error only log level. |
static int |
LOG_LEVEL_INFO
The constant for detailed informaion level log output. |
static int |
LOG_LEVEL_VERBOSE
The constant for the most verbose level log output. |
static int |
LOG_LEVEL_WARN
The constant for warning level log output. |
static java.lang.String |
STDERR
Reserved output file name for standard error output. |
static java.lang.String |
STDIN
Reserved input file name for standard input. |
static java.lang.String |
STDOUT
Reserved output file name for standard output. |
Method Summary | |
void |
log(java.lang.String msg,
int level)
Log the given message. |
void |
log(java.lang.String msg,
java.lang.Throwable t,
int level)
Log the given message and the exception. |
Field Detail |
public static final java.lang.String STDIN
public static final java.lang.String STDOUT
public static final java.lang.String STDERR
public static final int LOG_LEVEL_ERR
public static final int LOG_LEVEL_WARN
public static final int LOG_LEVEL_BRIEF
public static final int LOG_LEVEL_INFO
public static final int LOG_LEVEL_VERBOSE
Method Detail |
public void log(java.lang.String msg, int level)
msg
- the message to be logged.level
- the log level of this message.public void log(java.lang.String msg, java.lang.Throwable t, int level)
msg
- the message to be logged, can be null.t
- a the throwable to be logged, can be null.level
- the log level of this message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |