LogService
Syntax
public interface LogService
Description
The LogService provides methods for bundles to write messages to the log. Methods are provide to log messages with or without a ServiceDescription or an exception. Messages must be logged with a log level. The log levels have the following hierarchy:
LOG_ERROR
LOG_WARNING
LOG_INFO
LOG_DEBUG
Member Summary | |
---|---|
Fields | |
public static final | LOG_DEBUG |
A debugging message. | |
public static final | LOG_ERROR |
An error message. | |
public static final | LOG_INFO |
An informational message. | |
public static final | LOG_WARNING |
A warning message. | |
Methods | |
public void | log(int, String) |
Log a message. | |
public void | log(int, String, Throwable) |
Log a message with an exception. | |
public void | log(ServiceReference, int, String) |
Log ... |
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.