package io.dropwizard.logging.filter;
import ch.qos.logback.classic.Level;
import ch.qos.logback.core.filter.Filter;
import ch.qos.logback.core.spi.DeferredProcessingAware;
Type parameters: - <E> – The type of log event
/**
* An interface for building Logback {@link Filter Filters} with a specified {@link Level}.
* @param <E> The type of log event
*/
public interface LevelFilterFactory<E extends DeferredProcessingAware> {
Creates a Filter
of type E Returns: a new Filter
/**
* Creates a {@link Filter} of type E
* @return a new {@link Filter}
*/
Filter<E> build(Level threshold);
}