Package org.jboss.logmanager.filters
Class AllFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.AllFilter
-
- All Implemented Interfaces:
java.util.logging.Filter
public final class AllFilter extends java.lang.Object implements java.util.logging.Filter
A filter consisting of several filters in a chain. If any filter finds the log message to be unloggable, the message will not be logged and subsequent filters will not be checked. If there are no nested filters, this instance always returnstrue
.
-
-
Constructor Summary
Constructors Constructor Description AllFilter(java.lang.Iterable<java.util.logging.Filter> filters)
Construct a new instance.AllFilter(java.util.Iterator<java.util.logging.Filter> filters)
Construct a new instance.AllFilter(java.util.logging.Filter[] filters)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoggable(java.util.logging.LogRecord record)
Determine whether the record is loggable.
-
-
-
Constructor Detail
-
AllFilter
public AllFilter(java.util.logging.Filter[] filters)
Construct a new instance.- Parameters:
filters
- the constituent filters
-
AllFilter
public AllFilter(java.lang.Iterable<java.util.logging.Filter> filters)
Construct a new instance.- Parameters:
filters
- the constituent filters
-
AllFilter
public AllFilter(java.util.Iterator<java.util.logging.Filter> filters)
Construct a new instance.- Parameters:
filters
- the constituent filters
-
-