protected function defaultFilterCb(\stdClass $record)
    {
        if ($this->skipOver['phpInternals'] && $record->isInternal) {
            return self::SKIP;
        }

        if ($this->skipOver['XDebugTrace']) {
            if ($record->filename === __FILE__) {
                return self::SKIP;
            }

            if (\strpos($record->function, 'XDebug::') === 0) {
                return self::SKIP;
            }
        }

        if ($this->skipOver['Hail'] && \strpos($record->function, 'Hail\\') === 0) {
            return self::SKIP;
        }

        if ($this->skipOver['Composer'] && \strpos($record->function, 'Composer\\') === 0) {
            return self::SKIP;
        }

        if ($this->skipOver['callbacks'] && ($record->function === 'callback' || $record->function === '{closure}')) {
            return self::SKIP;
        }

        if ($this->skipOver['includes'] && $record->includeFile !== null) {
            return self::SKIP;
        }

        return 0;
    }