LogListener
Date: 2016-06-25

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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `logged(LogEntry entry)` Listener method called for each LogEntry object created.

- - ### Method Detail

    - #### logged

          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`