private static final class Slf4jLoggerFactory.Slf4jLogger extends java.lang.Object implements Logger
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
logger |
Constructor and Description |
---|
Slf4jLogger(org.slf4j.Logger 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.
|
public boolean isDebugEnabled()
Logger
isDebugEnabled
in interface Logger
true
if debug logging is enabled, false
otherwise.public void debug(java.lang.String msg)
Logger
public void debug(java.lang.String msg, java.lang.Throwable error)
Logger
public boolean isWarnEnabled()
Logger
isWarnEnabled
in interface Logger
true
if warn logging is enabled, false
otherwise.public void warn(java.lang.String msg)
Logger
public void warn(java.lang.String msg, java.lang.Throwable error)
Logger