public function setMinLevel(string $level): void
    {
        if ($this->levelIsValid($level) === false) {
            throw new \InvalidArgumentException('Invalid log-level provided.');
        }
        $this->minLevel = $this->getLevelCode($level);
    }
public function setMinLevel(string $level): void
    {
        if ($this->levelIsValid($level) === false) {
            throw new \InvalidArgumentException('Invalid log-level provided.');
        }
        $this->minLevel = $this->getLevelCode($level);
    }
public function setMinLevel ( string $ level ) : void { if ( $ this -> levelIsValid ( $ level ) === false ) { throw new \ InvalidArgumentException ( 'Invalid log-level provided.' ) ; } $ this -> minLevel = $ this -> getLevelCode ( $ level ) ; }
Sets min. log-level.

@param string $level
Sets min . log - level .