Auth0-PHP

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
throws
ArgumentException

when an invalid id is provided

throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Logs/get_logs_by_id
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.)

Tags
throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Logs/get_logs
Return values
ResponseInterface

Search results