Class DenyAllFilter

  • All Implemented Interfaces:
    java.util.logging.Filter

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

      • isLoggable

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

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