org.jadetower.dao.impl
Class CommonsLogger
java.lang.Object
org.jadetower.dao.impl.CommonsLogger
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Logger
- public class CommonsLogger
- extends java.lang.Object
- implements org.apache.avalon.framework.logger.Logger
simple wrapper for jakarta commons log to avalon logging
Constructor Summary |
CommonsLogger(org.apache.commons.logging.Log log)
|
Method Summary |
void |
debug(java.lang.String string)
|
void |
debug(java.lang.String string,
java.lang.Throwable throwable)
|
void |
error(java.lang.String string)
|
void |
error(java.lang.String string,
java.lang.Throwable throwable)
|
void |
fatalError(java.lang.String string)
|
void |
fatalError(java.lang.String string,
java.lang.Throwable throwable)
|
org.apache.avalon.framework.logger.Logger |
getChildLogger(java.lang.String string)
|
void |
info(java.lang.String string)
|
void |
info(java.lang.String string,
java.lang.Throwable throwable)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isWarnEnabled()
|
void |
warn(java.lang.String string)
|
void |
warn(java.lang.String string,
java.lang.Throwable throwable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsLogger
public CommonsLogger(org.apache.commons.logging.Log log)
debug
public void debug(java.lang.String string)
- Specified by:
debug
in interface org.apache.avalon.framework.logger.Logger
debug
public void debug(java.lang.String string,
java.lang.Throwable throwable)
- Specified by:
debug
in interface org.apache.avalon.framework.logger.Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface org.apache.avalon.framework.logger.Logger
info
public void info(java.lang.String string)
- Specified by:
info
in interface org.apache.avalon.framework.logger.Logger
info
public void info(java.lang.String string,
java.lang.Throwable throwable)
- Specified by:
info
in interface org.apache.avalon.framework.logger.Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface org.apache.avalon.framework.logger.Logger
warn
public void warn(java.lang.String string)
- Specified by:
warn
in interface org.apache.avalon.framework.logger.Logger
warn
public void warn(java.lang.String string,
java.lang.Throwable throwable)
- Specified by:
warn
in interface org.apache.avalon.framework.logger.Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface org.apache.avalon.framework.logger.Logger
error
public void error(java.lang.String string)
- Specified by:
error
in interface org.apache.avalon.framework.logger.Logger
error
public void error(java.lang.String string,
java.lang.Throwable throwable)
- Specified by:
error
in interface org.apache.avalon.framework.logger.Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface org.apache.avalon.framework.logger.Logger
fatalError
public void fatalError(java.lang.String string)
- Specified by:
fatalError
in interface org.apache.avalon.framework.logger.Logger
fatalError
public void fatalError(java.lang.String string,
java.lang.Throwable throwable)
- Specified by:
fatalError
in interface org.apache.avalon.framework.logger.Logger
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled
in interface org.apache.avalon.framework.logger.Logger
getChildLogger
public org.apache.avalon.framework.logger.Logger getChildLogger(java.lang.String string)
- Specified by:
getChildLogger
in interface org.apache.avalon.framework.logger.Logger
Copyright © 2003-2004 JadeTower. All Rights Reserved.