Class InvertFilter

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

public final class InvertFilter extends Object implements Filter
An inverting filter.
  • Field Details

    • target

      private final Filter target
  • Constructor Details

    • InvertFilter

      public InvertFilter(Filter target)
      Construct a new instance.
      Parameters:
      target - the target filter
  • Method Details

    • 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