You are here

public function Logs::get in Auth0 Single Sign On 8.2

Get a single Log event. Required scope: "read:logs"

@link https://auth0.com/docs/api/management/v2#!/Logs/get_logs_by_id

Parameters

string $log_id Log entry ID to get.:

Return value

mixed

Throws

\Exception Thrown by Guzzle for API errors.

File

vendor/auth0/auth0-php/src/API/Management/Logs.php, line 25

Class

Logs
Class Logs. Access to the v2 Management API Logs endpoint.

Namespace

Auth0\SDK\API\Management

Code

public function get($log_id) {
  return $this->apiClient
    ->method('get')
    ->addPath('logs', $log_id)
    ->call();
}