Package org.jboss.logmanager.filters
Class AnyFilter
java.lang.Object
org.jboss.logmanager.filters.AnyFilter
- All Implemented Interfaces:
Filter
A filter consisting of several filters in a chain. If any filter finds the log message to be loggable,
the message will be logged and subsequent filters will not be checked. If there are no nested filters, this
instance always returns
false
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
filters
-
-
Constructor Details
-
AnyFilter
Construct a new instance.- Parameters:
filters
- the constituent filters
-
AnyFilter
Construct a new instance.- Parameters:
filters
- the constituent filters
-
AnyFilter
Construct a new instance.- Parameters:
filters
- the constituent filters
-
-
Method Details
-
unroll
-
isLoggable
Determine whether the record is loggable.- Specified by:
isLoggable
in interfaceFilter
- Parameters:
record
- the log record- Returns:
true
if any of the constituent filters returntrue
-