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 java.lang.Exception> |
An operation that accepts a
Logger argument and produces no result. |
LoggerFactory |
Logger Factory service for logging information.
|
LogListener |
Subscribes to
LogEntry objects from the LogReaderService . |
LogReaderService |
LogReaderService for obtaining logging information.
|
LogService |
LogService for logging information.
|
Enum | Description |
---|---|
LogLevel |
Log Levels.
|
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)"
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0