@Version("1.4")
Package org.osgi.service.log
Log Service Package Version 1.4.
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.4,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.log; version="[1.4,1.5)"
-
Interface Summary Interface Description FormatterLogger Provides methods for bundles to write messages to the log using printf-style format strings.LogEntry Provides methods to access the information contained in an individual Log Service log entry.Logger Provides methods for bundles to write messages to the log using SLF4J-style format strings.LoggerConsumer<E extends Exception> An operation that accepts aLogger
argument and produces no result.LoggerFactory Logger Factory service for logging information.LogListener Subscribes toLogEntry
objects from theLogReaderService
.LogReaderService LogReaderService for obtaining logging information.LogService LogService for logging information. -
Enum Summary Enum Description LogLevel Log Levels.