@FunctionalInterface public interface Filter
Each Logger and each Handler can have a filter associated with it. The Logger or Handler will call the isLoggable method to check if a given LogRecord should be published. If isLoggable returns false, the LogRecord will be discarded.
boolean isLoggable(LogRecord record)
record- a LogRecord