org.apache.log.util
Class LoggerListener

java.lang.Object
  extended byorg.apache.log.util.LoggerListener

public abstract class LoggerListener
extends java.lang.Object

The LoggerListener class is used to notify listeners when a new Logger object is created. Loggers are created when a client requests a new Logger via Logger.getChildLogger(java.lang.String).

Author:
Avalon Development Team, Peter Donald

Constructor Summary
LoggerListener()
           
 
Method Summary
abstract  void loggerCreated(java.lang.String category, Logger logger)
          Notify listener that Logger was created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerListener

public LoggerListener()
Method Detail

loggerCreated

public abstract void loggerCreated(java.lang.String category,
                                   Logger logger)
Notify listener that Logger was created.

Parameters:
category - the error message
logger - the logger that was created


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