JBoss Log Manager 1.3.2.Final-redhat-1

org.jboss.logmanager.filters
Class InvertFilter

java.lang.Object
  extended by org.jboss.logmanager.filters.InvertFilter
All Implemented Interfaces:
Filter

public final class InvertFilter
extends Object
implements Filter

An inverting filter.


Constructor Summary
InvertFilter(Filter target)
          Construct a new instance.
 
Method Summary
 boolean isLoggable(LogRecord record)
          Determine whether a log record passes this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertFilter

public InvertFilter(Filter target)
Construct a new instance.

Parameters:
target - the target filter
Method Detail

isLoggable

public boolean isLoggable(LogRecord record)
Determine whether a log record passes this filter.

Specified by:
isLoggable in interface Filter
Parameters:
record - the log record
Returns:
true if the target filter returns false, false otherwise

JBoss Log Manager 1.3.2.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.