java.util.logging.Filter
public final class InvertFilter
extends java.lang.Object
implements java.util.logging.Filter
Constructor | Description |
---|---|
InvertFilter(java.util.logging.Filter target) |
Construct a new instance.
|
Modifier and Type | Method | 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
otherwiseCopyright © 2018. All rights reserved.