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');
ファイルを表示 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