|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logger
A simple logger to facilitate emission of diagnostic messages.
| Method Summary | |
|---|---|
void |
debug(java.lang.String msg)
Emits the specified message. |
void |
debug(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception. |
boolean |
isDebugEnabled()
Indicates whether debug logging is enabled. |
boolean |
isWarnEnabled()
Indicates whether warn logging is enabled. |
void |
warn(java.lang.String msg)
Emits the specified message. |
void |
warn(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception. |
| Method Detail |
|---|
boolean isDebugEnabled()
true if debug logging is enabled, false otherwise.void debug(java.lang.String msg)
msg - The message to log, must not be null.
void debug(java.lang.String msg,
java.lang.Throwable error)
msg - The message to log, must not be null.error - The exception to log, may be null.boolean isWarnEnabled()
true if warn logging is enabled, false otherwise.void warn(java.lang.String msg)
msg - The message to log, must not be null.
void warn(java.lang.String msg,
java.lang.Throwable error)
msg - The message to log, must not be null.error - The exception to log, may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||