Entries
class Entries extends Resource (View source)
The "entries" collection of methods.
Typical usage is:
$loggingService = new Google\Service\Logging(...);
$entries = $loggingService->entries;
Methods
Copies a set of log entries from a log bucket to a Cloud Storage bucket.
Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. (entries.tail)
Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging.
Details
Operation
copy(CopyLogEntriesRequest $postBody, array $optParams = [])
Copies a set of log entries from a log bucket to a Cloud Storage bucket.
(entries.copy)
ListLogEntriesResponse
listEntries(ListLogEntriesRequest $postBody, array $optParams = [])
Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
(entries.listEntries)
TailLogEntriesResponse
tail(TailLogEntriesRequest $postBody, array $optParams = [])
Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. (entries.tail)
WriteLogEntriesResponse
write(WriteLogEntriesRequest $postBody, array $optParams = [])
Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging.
A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field. (entries.write)