Aerys\Logger::setOutputLevel PHP Method

setOutputLevel() final protected method

final protected setOutputLevel ( integer $outputLevel )
$outputLevel integer
    protected final function setOutputLevel(int $outputLevel)
    {
        if ($outputLevel < min(self::LEVELS)) {
            $outputLevel = min(self::LEVELS);
        } elseif ($outputLevel > max(self::LEVELS)) {
            $outputLevel = max(self::LEVELS);
        }
        $this->outputLevel = $outputLevel;
    }