public final class AnyFilter extends Object implements Filter
false
.Constructor and Description |
---|
AnyFilter(Filter[] filters)
Construct a new instance.
|
AnyFilter(Iterable<Filter> filters)
Construct a new instance.
|
AnyFilter(Iterator<Filter> filters)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(LogRecord record)
Determine whether the record is loggable.
|
public AnyFilter(Filter[] filters)
filters
- the constituent filterspublic AnyFilter(Iterable<Filter> filters)
filters
- the constituent filterspublic boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log recordtrue
if any of the constituent filters return true
Copyright © 2017 JBoss by Red Hat. All rights reserved.