class LogEntry

Methods

__construct(string $api, RequestInterface $request, float|null $duration, ResponseInterface $response = null, Exception $exception = null)

LogEntry constructor.

string
getApi()

No description

RequestInterface
getRequest()

No description

Exception|null
getException()

No description

float
getDuration()

No description

Details

at line 50
__construct(string $api, RequestInterface $request, float|null $duration, ResponseInterface $response = null, Exception $exception = null)

LogEntry constructor.

Parameters

string $api
RequestInterface $request
float|null $duration
ResponseInterface $response
Exception $exception

Exceptions

InvalidArgumentException When $api is an unrecognized value

at line 66
string getApi()

Return Value

string

at line 74
RequestInterface getRequest()

Return Value

RequestInterface

at line 82
Exception|null getException()

Return Value

Exception|null

at line 90
float getDuration()

Return Value

float