|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logger
A simple logging facade that is intended simply to capture the style of logging as used by Jetty.
| Method Summary | |
|---|---|
void |
debug(String msg,
Object... args)
Formats and logs at debug level. |
void |
debug(String msg,
Throwable thrown)
Logs the given message at debug level, with Throwable information. |
void |
debug(Throwable thrown)
Logs the given Throwable information at debug level |
Logger |
getLogger(String name)
|
String |
getName()
|
void |
ignore(Throwable ignored)
Ignore an exception. |
void |
info(String msg,
Object... args)
Formats and logs at info level. |
void |
info(String msg,
Throwable thrown)
Logs the given message at info level, with Throwable information. |
void |
info(Throwable thrown)
Logs the given Throwable information at info level |
boolean |
isDebugEnabled()
|
void |
setDebugEnabled(boolean enabled)
Mutator used to turn debug on programmatically. |
void |
warn(String msg,
Object... args)
Formats and logs at warn level. |
void |
warn(String msg,
Throwable thrown)
Logs the given message at warn level, with Throwable information. |
void |
warn(Throwable thrown)
Logs the given Throwable information at warn level |
| Method Detail |
|---|
String getName()
void warn(String msg,
Object... args)
msg - the formatting stringargs - the optional argumentsvoid warn(Throwable thrown)
thrown - the Throwable to log
void warn(String msg,
Throwable thrown)
msg - the message to logthrown - the Throwable to log
void info(String msg,
Object... args)
msg - the formatting stringargs - the optional argumentsvoid info(Throwable thrown)
thrown - the Throwable to log
void info(String msg,
Throwable thrown)
msg - the message to logthrown - the Throwable to logboolean isDebugEnabled()
void setDebugEnabled(boolean enabled)
enabled - whether to enable the debug level
void debug(String msg,
Object... args)
msg - the formatting stringargs - the optional argumentsvoid debug(Throwable thrown)
thrown - the Throwable to log
void debug(String msg,
Throwable thrown)
msg - the message to logthrown - the Throwable to logLogger getLogger(String name)
name - the name of the logger
void ignore(Throwable ignored)
This should be used rather than an empty catch block.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||