Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Google
Cloud
Logging
LoggingClient
metric
Google\Cloud\Logging\LoggingClient::metric PHP 메소드
LoggingClient 1 문서
파일 보기
프로젝트 열기: GoogleCloudPlatform/gcloud-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); }
LoggingClient
__construct
createMetric
createSink
entries
logger
metric
metrics
psrLogger
sink
sinks