class log.Filter

class Filter {
    // methods

    abstract bool filter(
        uint64_t timestamp,
        uint64_t recordCode,
        void const* p,
        size_t size
    );

    virtual void reset();
};