A Filter is simply a class allowing you to let the LogRecord be passed or not. In the Java 8 ecosystem, it can be seen as a Predicate<LogRecord>; this class has been in Java since its 1.4 version, far before Predicate was created.
It is often bound to a particular Handler.