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 throwable) |
void |
debug(Throwable throwable) |
void |
error(Object msg) |
void |
error(Object msg,
Throwable throwable) |
void |
error(Throwable throwable) |
void |
fatal(Object msg) |
void |
fatal(Object msg,
Throwable throwable) |
void |
fatal(Throwable throwable) |
Log |
getWrappedLog() |
void |
info(Object msg) |
void |
info(Object msg,
Throwable throwable) |
void |
info(Throwable throwable) |
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 throwable) |
void |
trace(Throwable throwable) |
void |
warn(Object msg) |
void |
warn(Object msg,
Throwable throwable) |
void |
warn(Throwable throwable) |
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)