LogListener

Syntax

public interface LogListener extends java.util.EventListener

All Superinterfaces:

java.util.EventListener

Description

The LogListener interface is used to subscribe to LogEntry objects from the LogReaderService. A LogListener object may be registered with the LogReaderService using the LogReaderService.addLogListener(LogListener) method. After the listener is registered, it will be called at the log method for each LogEntry created. The listener may be unregistered by calling the LogReaderService.removeLogListener(LogListener) method.

Member Summary
Methods
public voidlogged(LogEntry)
 Listener method called for each LogEntry created.

Methods

logged(LogEntry)
public void logged(LogEntry entry)

Listener method called for ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.