Package org.osgi.service.log
Interface LoggerConsumer<E extends java.lang.Exception>
-
- Type Parameters:
E
- The type of the exception that may be thrown.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ConsumerType @FunctionalInterface public interface LoggerConsumer<E extends java.lang.Exception>
An operation that accepts aLogger
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.
- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(Logger l)
Perform this operation on the specifiedLogger
.
-