final public function filterByLevel($level, array $levels = [])
    {
        if ($level !== $this->minLevel) {
            $this->minLevel = $level;
            $this->consumer = null;
        }
    
        if (!empty($levels)) {
            $this->levels = $levels;
            $this->consumer = null;
        }
        
        return $this;
    }