protected static function getLogLevel(array $arguments)
    {
        $argumentsForSearch = implode(' ', $arguments);
        foreach (static::$levels as $argumentPattern => $currentLevel) {
            if (strpos($argumentsForSearch, $argumentPattern) !== false) {
                return $currentLevel;
            }
        }

        return LogLevel::ERROR;
    }
protected static function getLogLevel(array $arguments)
    {
        $argumentsForSearch = implode(' ', $arguments);
        foreach (static::$levels as $argumentPattern => $currentLevel) {
            if (strpos($argumentsForSearch, $argumentPattern) !== false) {
                return $currentLevel;
            }
        }

        return LogLevel::ERROR;
    }
protected static function getLogLevel ( array $ arguments ) { $ argumentsForSearch = implode ( ' ' , $ arguments ) ; foreach ( static :: $ levels as $ argumentPattern => $ currentLevel ) { if ( strpos ( $ argumentsForSearch , $ argumentPattern ) !== false ) { return $ currentLevel ; } } return LogLevel :: ERROR ; }
Returns the current log level based on the verbosity parameters.

@param array $arguments

@return string   Current log level or as default LogLevel::ERROR
Returns the current log level based on the verbosity parameters .