org.apache.avalon.excalibur.logger.logkit
Class LogKitLoggerHelper

java.lang.Object
  extended byorg.apache.avalon.excalibur.logger.logkit.LogKitLoggerHelper
All Implemented Interfaces:
LogEnabled

public class LogKitLoggerHelper
extends java.lang.Object
implements LogEnabled

Tie this object to a LoggerManagerTee, give it the Hierachy that LogKitAdapter operates upon and it will substitute the ErrorHandler for the Hierarchy at the enableLogging() call.

Since:
4.0
Version:
CVS $Revision: 1.3 $ $Date: 2004/03/10 13:54:51 $
Author:
Avalon Development Team

Constructor Summary
LogKitLoggerHelper(Hierarchy hierarchy)
           
 
Method Summary
 void enableLogging(Logger logger)
          Provide component with a logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogKitLoggerHelper

public LogKitLoggerHelper(Hierarchy hierarchy)
Method Detail

enableLogging

public void enableLogging(Logger logger)
Description copied from interface: LogEnabled
Provide component with a logger.

Specified by:
enableLogging in interface LogEnabled
Parameters:
logger - the logger. Must not be null.


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.