java.lang.Objectorg.apache.commons.logging.impl.AvalonLogger
All Implemented Interfaces:
Log
Implementation of commons-logging Log interface that delegates all logging calls to the Avalon logging abstraction: the Logger interface.
There are two ways in which this class can be used:
AvalonLogger
instances created through the LogFactory
mechanisms will output
to child loggers of this Logger
.
Note: AvalonLogger
does not implement Serializable
because the constructors available for it make this impossible to achieve in all
circumstances; there is no way to "reconnect" to an underlying Logger object on
deserialization if one was just passed in to the constructor of the original
object. This class was marked Serializable in the 1.0.4 release of
commons-logging, but this never actually worked (a NullPointerException would
be thrown as soon as the deserialized object was used), so removing this marker
is not considered to be an incompatible change.
- href="mailto:neeme@apache.org">Neeme Praks
$
- Revision: 424107 $ $Date: 2006-07-21 01:15:42 +0200 (fr, 21 jul 2006) $Constructor: |
---|
AvalonLogger that outputs to the given
Logger instance.
|
AvalonLogger that will log to a child
of the Logger set by calling #setDefaultLogger .
|
Method from org.apache.commons.logging.impl.AvalonLogger Summary: |
---|
debug, debug, error, error, fatal, fatal, getLogger, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, setDefaultLogger, trace, trace, warn, warn |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.commons.logging.impl.AvalonLogger Detail: |
---|
org.apache.avalon.framework.logger.Logger.debug . |
org.apache.avalon.framework.logger.Logger.debug . |
org.apache.avalon.framework.logger.Logger.error . |
org.apache.avalon.framework.logger.Logger.error . |
org.apache.avalon.framework.logger.Logger.fatalError . |
org.apache.avalon.framework.logger.Logger.fatalError . |
|
org.apache.avalon.framework.logger.Logger.info . |
org.apache.avalon.framework.logger.Logger.info . |
org.apache.avalon.framework.logger.Logger.debug enabled? |
org.apache.avalon.framework.logger.Logger.error enabled? |
org.apache.avalon.framework.logger.Logger.fatalError enabled? |
org.apache.avalon.framework.logger.Logger.info enabled? |
org.apache.avalon.framework.logger.Logger.debug enabled? |
org.apache.avalon.framework.logger.Logger.warn enabled? |
|
org.apache.avalon.framework.logger.Logger.debug . |
org.apache.avalon.framework.logger.Logger.debug . |
org.apache.avalon.framework.logger.Logger.warn . |
org.apache.avalon.framework.logger.Logger.warn . |