Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Google
Cloud
Logging
Entry
PHP Class Google\Cloud\Logging\Entry
Example:
use Google\Cloud\ServiceBuilder; $cloud = new ServiceBuilder(); $logging = $cloud->logging(); $logger = $logging->logger('my-log'); $entry = $logger->entry('my message');
Show file
Open project: GoogleCloudPlatform/gcloud-php
Class Usage Examples
Public Methods
Method
Description
__construct
(
array
$info
= [] )
info
( ) :
array
Retrieves the entry's details.
Method Details
__construct()
public
method
public
__construct
(
array
$info
= [] )
$info
array
[optional] The entry's metadata.
info()
public
method
Example:
$info = $entry->info(); echo $info['textPayload'];
See also:
https://cloud.google.com/logging/docs/api/reference/rest/Shared.Types/LogEntry LogEntry resource documentation.
public
info
( ) :
array
return
array