public final class InvertFilter
extends java.lang.Object
implements java.util.logging.Filter
Modifier and Type | Field and Description |
---|---|
private java.util.logging.Filter |
target |
Constructor and Description |
---|
InvertFilter(java.util.logging.Filter target)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(java.util.logging.LogRecord record)
Determine whether a log record passes this filter.
|
public InvertFilter(java.util.logging.Filter target)
target
- the target filterpublic boolean isLoggable(java.util.logging.LogRecord record)
isLoggable
in interface java.util.logging.Filter
record
- the log recordtrue
if the target filter returns false
, false
otherwise