org.apache.avalon.excalibur.logger.util
Class LoggerManagerTee
java.lang.Object
org.apache.avalon.excalibur.logger.util.AvalonTee
org.apache.avalon.excalibur.logger.util.LoggerManagerTee
- All Implemented Interfaces:
- LoggerManager, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Startable, Configurable, Contextualizable, LogEnabled
public class LoggerManagerTee
- extends AvalonTee
- implements LoggerManager
An AvalonTee object is not usefull by itself as it does not
implement any component interface. Its primary use is to
serve as a base class for objects proxing not only
lifecycle but also some "meaningfull" interfaces.
This object proxies LoggerManager interface.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.3 $ $Date: 2004/03/10 13:54:51 $
- Author:
- Avalon Development Team
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerManagerTee
public LoggerManagerTee(LoggerManager loggerManager)
- Creates a new instance of LoggerManagerTee. Adds the supplied
LoggerManager as the first tee. (It will receive the lifecycle
events first of all tees).
getLoggerForCategory
public Logger getLoggerForCategory(String categoryName)
- Return the Logger for the specified category.
- Specified by:
getLoggerForCategory
in interface LoggerManager
getDefaultLogger
public Logger getDefaultLogger()
- Return the default Logger. This is basically the same
as getting the Logger for the "" category.
- Specified by:
getDefaultLogger
in interface LoggerManager
Copyright © 1997-2012 The Apache Software Foundation. All Rights Reserved.