|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logmanager.filters.AnyFilter
public final class AnyFilter
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
.
Constructor Summary | |
---|---|
AnyFilter(Filter[] filters)
Construct a new instance. |
|
AnyFilter(Iterable<Filter> filters)
Construct a new instance. |
|
AnyFilter(Iterator<Filter> filters)
Construct a new instance. |
Method Summary | |
---|---|
boolean |
isLoggable(LogRecord record)
Determine whether the record is loggable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnyFilter(Filter[] filters)
filters
- the constituent filterspublic AnyFilter(Iterable<Filter> filters)
filters
- the constituent filterspublic AnyFilter(Iterator<Filter> filters)
filters
- the constituent filtersMethod Detail |
---|
public boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log record
true
if any of the constituent filters return true
|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |