Class DenyAllFilter

  • All Implemented Interfaces:
    Filter

    public final class DenyAllFilter
    extends Object
    implements Filter
    A deny-all filter.
    • Method Detail

      • 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