This is a very simple filter based on level matching.
The filter admits two options LevelToMatch and
AcceptOnMatch. If there is an exact match between the value
of the LevelToMatch option and the level of the {@link
LoggingEvent}, then the {@link #decide} method returns {@link
Filter#ACCEPT} in case the AcceptOnMatch option value is set
to true , if it is false then {@link
Filter#DENY} is returned. If there is no match, {@link
Filter#NEUTRAL} is returned. |