Class LevelFilteringStatusListener

All Implemented Interfaces:
ContextAware, LifeCycle, StatusListener

public class LevelFilteringStatusListener extends DelegatingStatusListener
A DelegatingStatusListener that filters Status events based on their level (e.g. Status.INFO, Status.WARN, Status.ERROR) before forwarding the status event to the delegate.

Only those Status events whose level is greater than or equal to the configured level will be forwarded to the delegate StatusListener. For example if level is Status.WARN, then status' whose level is Status.WARN or Status.ERROR will be forwarded.