|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
Log Interface
Field Summary | |
---|---|
static int |
LEVEL_DEBUG
Field LEVEL_DEBUG |
static int |
LEVEL_ERROR
Field LEVEL_ERROR |
static int |
LEVEL_FATAL
Field LEVEL_FATAL |
static int |
LEVEL_INFO
Field LEVEL_INFO |
static int |
LEVEL_WARN
Field LEVEL_WARN |
Method Summary | |
---|---|
void |
debug(String application,
String message)
log level debug |
void |
error(String application,
String message)
log level error |
void |
fatal(String application,
String message)
log level fatal |
int |
getLogLevel()
|
void |
info(String application,
String message)
log level info |
void |
log(int level,
String application,
String message)
log one line |
void |
setLogLevel(int level)
|
void |
warn(String application,
String message)
log level warn |
Field Detail |
---|
static final int LEVEL_INFO
LEVEL_INFO
static final int LEVEL_DEBUG
LEVEL_DEBUG
static final int LEVEL_WARN
LEVEL_WARN
static final int LEVEL_ERROR
LEVEL_ERROR
static final int LEVEL_FATAL
LEVEL_FATAL
Method Detail |
---|
void log(int level, String application, String message)
level
- level to log (Log.LEVEL_DEBUG, Log.LEVEL_WARN, Log.LEVEL_ERROR)application
- application namemessage
- message to logvoid info(String application, String message)
application
- application namemessage
- message to logvoid debug(String application, String message)
application
- application namemessage
- message to logvoid warn(String application, String message)
application
- application namemessage
- message to logvoid error(String application, String message)
application
- application namemessage
- message to logvoid fatal(String application, String message)
application
- application namemessage
- message to logint getLogLevel()
void setLogLevel(int level)
level
- sets the log level of the log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |