Constructor and Description |
---|
Slf4jLogger() |
Slf4jLogger(org.slf4j.Logger 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 |
setLogger(org.slf4j.Logger logger) |
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.
|
public Slf4jLogger()
public Slf4jLogger(org.slf4j.Logger logger)
public void setLogger(org.slf4j.Logger logger)
public boolean isDebugEnabled()
Logger
isDebugEnabled
in interface Logger
true
if debug logging is enabled, false
otherwise.public void debug(String msg)
Logger
public void debug(String msg, Throwable error)
Logger
public boolean isWarnEnabled()
Logger
isWarnEnabled
in interface Logger
true
if warn logging is enabled, false
otherwise.public void warn(String msg)
Logger
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.