|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.common.logging.CommonsLogWrapper
public class CommonsLogWrapper
Commons log wrapper.
| Constructor Summary | |
|---|---|
CommonsLogWrapper(org.apache.commons.logging.Log log)
Creates the CommonsLogWrapper. |
|
| Method Summary | |
|---|---|
void |
debug(Object o)
Log a message object with the DEBUG level. |
void |
debug(Object o,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable. |
void |
error(Object o)
Log a message object with the ERROR level. |
void |
error(Object o,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable. |
void |
fatal(Object o)
Log a message object with the FATAL level. |
void |
fatal(Object o,
Throwable throwable)
Log a message object with the FATAL level including the stack trace of the Throwable. |
void |
info(Object o)
Log a message object with the INFO level. |
void |
info(Object o,
Throwable throwable)
Log a message object with the INFO level including the stack trace of the Throwable. |
boolean |
isDebugEnabled()
Check whether this category is enabled for the DEBUG Level. |
boolean |
isErrorEnabled()
Check whether this category is enabled for the ERROR Level. |
boolean |
isFatalEnabled()
Check whether this category is enabled for the FATAL Level. |
boolean |
isInfoEnabled()
Check whether this category is enabled for the INFO Level. |
boolean |
isTraceEnabled()
Check whether this category is enabled for the TRACE Level. |
boolean |
isWarnEnabled()
Check whether this category is enabled for the WARN Level. |
void |
trace(Object o)
Log a message object with the TRACE level. |
void |
trace(Object o,
Throwable throwable)
Log a message object with the trace level including the stack trace of the Throwable. |
void |
warn(Object o)
Log a message object with the WARN level. |
void |
warn(Object o,
Throwable throwable)
Log a message object with the WARN level including the stack trace of the Throwable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsLogWrapper(org.apache.commons.logging.Log log)
CommonsLogWrapper.
log - the instance of org.apache.commons.logging.Log| Method Detail |
|---|
public void debug(Object o)
Log
debug in interface Logo - the messageLog.debug(Object)
public void debug(Object o,
Throwable throwable)
Log
debug in interface Logo - the messagethrowable - the errorLog.debug(Object, Throwable)public void error(Object o)
Log
error in interface Logo - the messageLog.error(Object)
public void error(Object o,
Throwable throwable)
Log
error in interface Logo - the messagethrowable - the errorLog.error(Object, Throwable)public void fatal(Object o)
Log
fatal in interface Logo - the messageLog.fatal(Object)
public void fatal(Object o,
Throwable throwable)
Log
fatal in interface Logo - the messagethrowable - the errorLog.fatal(Object, Throwable)public void info(Object o)
Log
info in interface Logo - the messageLog.info(Object)
public void info(Object o,
Throwable throwable)
Log
info in interface Logo - the messagethrowable - the errorLog.info(Object, Throwable)public boolean isDebugEnabled()
Log
isDebugEnabled in interface LogLog.isDebugEnabled()public boolean isErrorEnabled()
Log
isErrorEnabled in interface LogLog.isErrorEnabled()public boolean isFatalEnabled()
Log
isFatalEnabled in interface LogLog.isFatalEnabled()public boolean isInfoEnabled()
Log
isInfoEnabled in interface LogLog.isInfoEnabled()public boolean isTraceEnabled()
Log
isTraceEnabled in interface LogLog.isTraceEnabled()public boolean isWarnEnabled()
Log
isWarnEnabled in interface LogLog.isWarnEnabled()public void trace(Object o)
Log
trace in interface Logo - the messageLog.trace(Object)
public void trace(Object o,
Throwable throwable)
Log
trace in interface Logo - the messagethrowable - the errorLog.trace(Object, Throwable)public void warn(Object o)
Log
warn in interface Logo - the messageLog.warn(Object)
public void warn(Object o,
Throwable throwable)
Log
warn in interface Logo - the messagethrowable - the errorLog.warn(Object, Throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||