LogEntry

Syntax

public interface LogEntry

Description

The LogEntry interface provides the methods to access the information contained in an individual LogService log entry. A LogEntry may be acquired from the LogReaderService.getLog() method or by registering a LogListener.

Member Summary
Methods
public BundlegetBundle()
 The bundle that created the LogEntry.
public ThrowablegetException()
 The exception object associated with the LogEntry.
public intgetLevel()
 The severity level of the LogEntry.
public StringgetMessage()
 The human readable message associated with the LogEntry.
public ServiceReferencegetServiceReference()
 The ServiceReference for the service associated with the LogEntry.
public longgetTime()
 The value of System.currentTimeMillis() ...

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.