This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ConditionalExceptionLogger
For components that support customization of the logging of certain events, users can
provide an implementation of this interface to modify the existing logging behavior.