Class AcceptAllFilter

  • All Implemented Interfaces:
    Filter

    public final class AcceptAllFilter
    extends Object
    implements Filter
    An accept-all filter.
    • Method Detail

      • isLoggable

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

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