public interface Logger
Modifier and Type | Method and Description |
---|---|
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.
|
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
.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.