Logging/src/V2/LogEntry.php
public function setSeverity($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Logging\Type\LogSeverity::class);
        $this->severity = $var;

        return $this;
    }
public function setSeverity($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Logging\Type\LogSeverity::class);
        $this->severity = $var;

        return $this;
    }
public function setSeverity ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Logging \ Type \ LogSeverity :: class ) ; $ this -> severity = $ var ; return $ this ; }
Optional. The severity of the log entry. The default value is
`LogSeverity.DEFAULT`.

Generated from protobuf field <code>.google.logging.type.LogSeverity severity = 10;</code>
@param int $var
@return $this
Optional . The severity of the log entry . The default value is LogSeverity . DEFAULT .