|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.mmapps.commons.logging.impl.MMBase17Logger net.sf.mmapps.commons.logging.impl.MMBase18Logger
Adaptor class to convert jakarta-commons Log calls to MMBase 1.8 Logger calls.
This class extends MMBase17Logger
to override
the methods that contain a Throwable as second argument since MMBase 1.8 supports those methods
Field Summary |
Fields inherited from class net.sf.mmapps.commons.logging.impl.MMBase17Logger |
logger |
Constructor Summary | |
(package private) |
MMBase18Logger(org.mmbase.util.logging.Logger logger)
creates a new adaptor |
Method Summary | |
void |
debug(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.debug(java.lang.Object, java.lang.Throwable) |
void |
error(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.error(java.lang.Object, java.lang.Throwable) |
void |
fatal(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.fatal(java.lang.Object, java.lang.Throwable) |
void |
info(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.info(java.lang.Object, java.lang.Throwable) |
void |
trace(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.trace(java.lang.Object, java.lang.Throwable) |
void |
warn(java.lang.Object object,
java.lang.Throwable throwable)
calls Logger.warn(java.lang.Object, java.lang.Throwable) |
Methods inherited from class net.sf.mmapps.commons.logging.impl.MMBase17Logger |
debug, error, fatal, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
MMBase18Logger(org.mmbase.util.logging.Logger logger)
logger
- the logger to useMethod Detail |
public void debug(java.lang.Object object, java.lang.Throwable throwable)
Logger.debug(java.lang.Object, java.lang.Throwable)
debug
in interface org.apache.commons.logging.Log
debug
in class MMBase17Logger
public void error(java.lang.Object object, java.lang.Throwable throwable)
Logger.error(java.lang.Object, java.lang.Throwable)
error
in interface org.apache.commons.logging.Log
error
in class MMBase17Logger
public void fatal(java.lang.Object object, java.lang.Throwable throwable)
Logger.fatal(java.lang.Object, java.lang.Throwable)
fatal
in interface org.apache.commons.logging.Log
fatal
in class MMBase17Logger
public void info(java.lang.Object object, java.lang.Throwable throwable)
Logger.info(java.lang.Object, java.lang.Throwable)
info
in interface org.apache.commons.logging.Log
info
in class MMBase17Logger
public void trace(java.lang.Object object, java.lang.Throwable throwable)
Logger.trace(java.lang.Object, java.lang.Throwable)
trace
in interface org.apache.commons.logging.Log
trace
in class MMBase17Logger
public void warn(java.lang.Object object, java.lang.Throwable throwable)
Logger.warn(java.lang.Object, java.lang.Throwable)
warn
in interface org.apache.commons.logging.Log
warn
in class MMBase17Logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |