Top Description Interfaces Enums
module org.osgi.service.log

Package org.osgi.service.log

Annotations
@Version:1.5
Imports
org.osgi.annotation.versioning.Version

Log Service Package Version 1.5.

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)"

Author
$Id: b0531886cb8da11f9fff9120e55c0fdf62cf7158 $

Interface Summary

Modifier and TypeInterface 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 Logger argument and produces no result.

public interface
LoggerFactory

Logger Factory service for logging information.

public interface
LogListener

Subscribes to LogEntry objects from the LogReaderService.

public interface
LogReaderService

LogReaderService for obtaining logging information.

public interface
LogService

LogService for logging information.

Enum Summary

Modifier and TypeEnum and Description
public enum
LogLevel

Log Levels.