|
||||||||||
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(String msg)
Emits the specified message. |
void |
debug(String msg,
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(String msg)
Emits the specified message. |
void |
warn(String msg,
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(String msg)
msg
- The message to log, must not be null
.void debug(String msg, 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(String msg)
msg
- The message to log, must not be null
.void warn(String msg, 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 |