public class LogWrapper extends Object implements Log
Constructor and Description |
---|
LogWrapper(Log log) |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object msg) |
void |
debug(Object msg,
Throwable t) |
void |
debug(Throwable t) |
void |
error(Object msg) |
void |
error(Object msg,
Throwable t) |
void |
error(Throwable t) |
void |
fatal(Object msg) |
void |
fatal(Object msg,
Throwable t) |
void |
fatal(Throwable t) |
Log |
getWrappedLog() |
void |
info(Object msg) |
void |
info(Object msg,
Throwable t) |
void |
info(Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected void |
printMsg(Object msg) |
void |
setLog(Log log) |
void |
setLogWrapperClassName(String className) |
void |
trace(Object msg) |
void |
trace(Object msg,
Throwable t) |
void |
trace(Throwable t) |
void |
warn(Object msg) |
void |
warn(Object msg,
Throwable t) |
void |
warn(Throwable t) |
public LogWrapper(Log log)
public Log getWrappedLog()
public boolean isDebugEnabled()
isDebugEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
public boolean isFatalEnabled()
isFatalEnabled
in interface Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isTraceEnabled()
isTraceEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public void setLog(Log log)
public void setLogWrapperClassName(String className)
setLogWrapperClassName
in interface Log
protected void printMsg(Object msg)