src/LevelAwareLogger.php
protected function shouldLog($level)
    {
        if ($this->levels === ['*'] || $this->levels === ['all']) {
            return true;
        }

        return in_array($level, $this->levels);
    }
protected function shouldLog($level)
    {
        if ($this->levels === ['*'] || $this->levels === ['all']) {
            return true;
        }

        return in_array($level, $this->levels);
    }
Should the message be logged?

@param string $level

@return bool