|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogProvider
The log provider interface allows the simple logging services provided to the samskivert codebase to be mapped onto an actual logging framework.
| Method Summary | |
|---|---|
int |
getLevel()
Returns the default log level for all modules. |
int |
getLevel(String moduleName)
Returns the log level for the specified module. |
void |
log(int level,
String moduleName,
String message)
Log a message at the specified level for the specified module, if messages are enabled for that particular combination. |
void |
logStackTrace(int level,
String moduleName,
Throwable t)
Log the stack trace of the supplied throwable at the specified level for the specified module, if messages are enabled for that particular combination. |
void |
setLevel(int level)
Set the log level for all modules to the specified level. |
void |
setLevel(String moduleName,
int level)
Set the log level for the specified module to the specified level. |
| Method Detail |
|---|
void log(int level,
String moduleName,
String message)
void logStackTrace(int level,
String moduleName,
Throwable t)
void setLevel(String moduleName,
int level)
void setLevel(int level)
int getLevel(String moduleName)
int getLevel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||