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 Bundle | getBundle() |
The bundle that created the LogEntry. | |
public Throwable | getException() |
The exception object associated with the LogEntry. | |
public int | getLevel() |
The severity level of the LogEntry. | |
public String | getMessage() |
The human readable message associated with the LogEntry. | |
public ServiceReference | getServiceReference() |
The ServiceReference for the service associated with the LogEntry. | |
public long | getTime() |
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.