Package org.osgi.service.log

Description

The OSGi LogService Specification.

The LogService takes log requests from bundles and the LogReaderService allows other bundles to read entries from the log. Although you can ask the LogService to log any message, it is primarily intended for reporting events and error conditions.

In general, the LogService interface provides the means for:

  • Specifying the message and/or exception to be logged.

  • Supplying a log level signifying severity of the message being logged.

  • Specifying the service associated with the log requests.

The LogReaderService interface provides the means for:

  • Getting recent past log entries.

  • Getting notified of new log entries.

LogService

Making Log Requests

Callers make log requests through ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.