Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.log; version="[1.5,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.log; version="[1.5,1.6)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FormatterLogger
Provides methods for bundles to write messages to the log using printf-style format strings. |
| public interface | LogEntry
Provides methods to access the information contained in an individual Log Service log entry. |
| public interface | Logger
Provides methods for bundles to write messages to the log using SLF4J-style format strings. |
| public interface | LoggerConsumer<
The type of the exception that may be thrown. E extends Exception>An operation that accepts a |
| public interface | LoggerFactory
Logger Factory service for logging information. |
| public interface | LogListener
Subscribes to |
| public interface | LogReaderService
LogReaderService for obtaining logging information. |
| public interface | LogService
LogService for logging information. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | LogLevel
Log Levels. |