Top Description Methods
org.osgi.service.log

public Interface LoggerConsumer<E extends Exception>

Annotations
@ConsumerType
@FunctionalInterface
Type Parameters
<E>
The type of the exception that may be thrown.
Imports
org.osgi.annotation.versioning.ConsumerType

An operation that accepts a Logger argument and produces no result.

This is a functional interface and can be used as the assignment target for a lambda expression or method reference.

Author
$Id: 332fa18a800b803a2656c6c06ea38981100ca8fd $
Since
1.4

Method Summary

Modifier and TypeMethod and Description
public void
accept(Logger
The Logger input to this operation.
l
)

Perform this operation on the specified Logger.

Method Detail

acceptback to summary
public void accept(Logger l) throws LoggerConsumer:E

Perform this operation on the specified Logger.

Parameters
l:Logger

The Logger input to this operation.

Exceptions
LoggerConsumer:E:
An exception thrown by the operation.