|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogger
The log interface for the PHP/Java Bridge log.
FileLogger
,
ChainsawLogger
,
SimpleLog4jLogger
Field Summary | |
---|---|
static int |
DEBUG
debug log level |
static int |
ERROR
error log level |
static int |
FATAL
fatal log level |
static int |
INFO
info log level |
Method Summary | |
---|---|
void |
log(int level,
java.lang.String msg)
Log a message. |
void |
printStackTrace(java.lang.Throwable t)
Log a stack trace |
void |
warn(java.lang.String msg)
Display a warning if logLevel >= 1 |
Field Detail |
---|
static final int FATAL
static final int ERROR
static final int INFO
static final int DEBUG
Method Detail |
---|
void printStackTrace(java.lang.Throwable t)
t
- The Throwablevoid log(int level, java.lang.String msg)
level
- The log level 0: FATAL, 1:ERROR, 2: INFO, 3: DEBUGmsg
- The messagevoid warn(java.lang.String msg)
msg
- The warn message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |