Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| OSGi Service Platform Release 3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.osgi.service.log
Interface LogListener

All Superinterfaces:
  java.util.EventListener

public interface LogListener
extends java.util.EventListener

Subscribes to `LogEntry` objects from the `LogReaderService`.

A `LogListener` object may be registered with the Log Reader Service using the `LogReaderService.addLogListener` method. After the listener is registered, the `logged` method will be called for each `LogEntry` object created. The `LogListener` object may be unregistered by calling the `LogReaderService.removeLogListener` method.

See Also:
  `LogReaderService`, `LogEntry`, `LogReaderService.addLogListener(LogListener)`, `LogReaderService.removeLogListener(LogListener)`

Method Summary
`void` | `logged(LogEntry entry)` Listener method called for each LogEntry object created.

Method Detail

### logged

    public void logged(LogEntry entry)

  Listener method called for each LogEntry object created.

  As with all event listeners, this method should return to its caller as soon as possible.

  Parameters:
    `entry` - A `LogEntry` object containing log information.
  See Also:
    `LogEntry`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| OSGi Service Platform Release 3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) OSGi Alliance (2000, 2003). All Rights Reserved.