Google\Cloud\Logging\LoggingClient::metric PHP 메소드

metric() 공개 메소드

Example: $metric = $logging->metric('my-metric'); echo $metric->name();
public metric ( string $name ) : Metric
$name string The name of the metric.
리턴 Metric
    public function metric($name)
    {
        return new Metric($this->connection, $name, $this->projectId);
    }