LogsInterface
in
Interface LogsInterface.
Table of Contents
- get() : ResponseInterface
- Retrieve an individual log event.
- getAll() : ResponseInterface
- Retrieves log entries that match the specified search criteria (or list all entries if no criteria is used).
Methods
get()
Retrieve an individual log event.
public
get(string $id[, RequestOptions|null $options = null ]) : ResponseInterface
Required scope: read:logs
.
Parameters
- $id : string
-
log entry ID to get
- $options : RequestOptions|null = null
-
Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
Tags
Return values
ResponseInterface —getAll()
Retrieves log entries that match the specified search criteria (or list all entries if no criteria is used).
public
getAll([array<string|int, int|string|null>|null $parameters = null ][, RequestOptions|null $options = null ]) : ResponseInterface
Required scope: read:logs
.
Parameters
- $parameters : array<string|int, int|string|null>|null = null
-
Optional. Additional query parameters to pass with the API request. See @see for supported options.
- $options : RequestOptions|null = null
-
Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)