public class Slf4jToJspfLoggerAdapter
extends Object
implements org.apache.james.jspf.core.Logger
Constructor and Description |
---|
Slf4jToJspfLoggerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
void |
debug(String message,
Throwable throwable) |
void |
error(String message) |
void |
error(String message,
Throwable throwable) |
void |
fatalError(String message) |
void |
fatalError(String message,
Throwable throwable) |
org.apache.james.jspf.core.Logger |
getChildLogger(String name) |
void |
info(String message) |
void |
info(String message,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
warn(String message) |
void |
warn(String message,
Throwable throwable) |
public void debug(String message)
debug
in interface org.apache.james.jspf.core.Logger
public void debug(String message, Throwable throwable)
debug
in interface org.apache.james.jspf.core.Logger
public void error(String message)
error
in interface org.apache.james.jspf.core.Logger
public void error(String message, Throwable throwable)
error
in interface org.apache.james.jspf.core.Logger
public void fatalError(String message)
fatalError
in interface org.apache.james.jspf.core.Logger
public void fatalError(String message, Throwable throwable)
fatalError
in interface org.apache.james.jspf.core.Logger
public org.apache.james.jspf.core.Logger getChildLogger(String name)
getChildLogger
in interface org.apache.james.jspf.core.Logger
public void info(String message)
info
in interface org.apache.james.jspf.core.Logger
public void info(String message, Throwable throwable)
info
in interface org.apache.james.jspf.core.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.james.jspf.core.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface org.apache.james.jspf.core.Logger
public boolean isFatalErrorEnabled()
isFatalErrorEnabled
in interface org.apache.james.jspf.core.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.james.jspf.core.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.james.jspf.core.Logger
public void warn(String message)
warn
in interface org.apache.james.jspf.core.Logger
public void warn(String message, Throwable throwable)
warn
in interface org.apache.james.jspf.core.Logger