public interface Logger
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.