Class DenyAllFilter

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

public final class DenyAllFilter extends Object implements Filter
A deny-all filter.
  • Field Details

  • Constructor Details

    • DenyAllFilter

      private DenyAllFilter()
  • Method Details

    • isLoggable

      public boolean isLoggable(LogRecord record)
      Always returns false.
      Specified by:
      isLoggable in interface Filter
      Parameters:
      record - ignored
      Returns:
      false
    • getInstance

      public static DenyAllFilter getInstance()
      Get the filter instance.
      Returns:
      the filter instance