org.openorb.util.logger
Class ControllableLogger
java.lang.Object
|
+--org.openorb.util.logger.ControllableLogger
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Logger
- public final class ControllableLogger
- extends Object
- implements org.apache.avalon.framework.logger.Logger
A logger proxy that uses a separate control to evaluate the logging
priority.
- Version:
- $Revision: 1.3 $ $Date: 2004/02/10 21:28:45 $
- Author:
- Richard G Clark
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllableLogger
public ControllableLogger(org.apache.avalon.framework.logger.Logger logger,
ControllableLogger.Control control)
- Constructs this object with the specified logger and control.
- Parameters:
logger - the loggercontrol - the control
getChildLogger
public org.apache.avalon.framework.logger.Logger getChildLogger(String name)
- Specified by:
getChildLogger in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.getChildLogger(String)
debug
public void debug(String message)
- Specified by:
debug in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.debug(String)
debug
public void debug(String message,
Throwable throwable)
- Specified by:
debug in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.debug(String,Throwable)
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isDebugEnabled()
info
public void info(String message)
- Specified by:
info in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.info(String)
info
public void info(String message,
Throwable throwable)
- Specified by:
info in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.info(String,Throwable)
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isInfoEnabled()
warn
public void warn(String message)
- Specified by:
warn in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.warn(String)
warn
public void warn(String message,
Throwable throwable)
- Specified by:
warn in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.warn(String,Throwable)
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isWarnEnabled()
error
public void error(String message)
- Specified by:
error in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.error(String)
error
public void error(String message,
Throwable throwable)
- Specified by:
error in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.error(String,Throwable)
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isErrorEnabled()
fatalError
public void fatalError(String message)
- Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.fatalError(String)
fatalError
public void fatalError(String message,
Throwable throwable)
- Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.fatalError(String,Throwable)
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isFatalErrorEnabled()