src/Library/Logger.php
protected function isErrorLevel($level)
    {
        if (!is_numeric($level)) $level = $this->getLevelCode($level);
        return (bool) ($level>300);
    }
protected function isErrorLevel($level)
    {
        if (!is_numeric($level)) $level = $this->getLevelCode($level);
        return (bool) ($level>300);
    }
protected function isErrorLevel ( $ level ) { if ( ! is_numeric ( $ level ) ) $ level = $ this -> getLevelCode ( $ level ) ; return ( bool ) ( $ level > 300 ) ; }
Is the current log level an error one

@param   int     $level A type for the message, must be a class constant
@return  bool    True if the level is more than a warning
Is the current log level an error one