Package org.jboss.logmanager.filters
Class InvertFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.InvertFilter
-
- All Implemented Interfaces:
java.util.logging.Filter
public final class InvertFilter extends java.lang.Object implements java.util.logging.Filter
An inverting filter.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.logging.Filter
target
-
Constructor Summary
Constructors Constructor Description InvertFilter(java.util.logging.Filter target)
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 a log record passes this filter.
-
-
-
Method Detail
-
isLoggable
public boolean isLoggable(java.util.logging.LogRecord record)
Determine whether a log record passes this filter.- Specified by:
isLoggable
in interfacejava.util.logging.Filter
- Parameters:
record
- the log record- Returns:
true
if the target filter returnsfalse
,false
otherwise
-
-