August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface LogService
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 ... | |
Read now
Unlock full access