LoggerListener (LogKit API)
Keywords: org.apache.log.util.LoggerListener,LoggerListener class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.log.util
Class LoggerListener

    java.lang.Object
      |
      +--org.apache.log.util.LoggerListener

public abstract class LoggerListener
extends 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(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(String category,
                                       Logger logger)

  Notify listener that Logger was created.

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Apache Jakarta Project. All Rights Reserved.