LogEntry
class LogEntry implements Serializable
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
ResponseInterface|null
getResponse()
No description
bool
isError()
True if the requests threw an error.
serialize()
No description
unserialize($serialized)
No description
Details
at line 50
__construct(string $api, RequestInterface $request, float|null $duration, ResponseInterface $response = null, Exception $exception = null)
LogEntry constructor.
at line 103
string
getApi()
at line 111
RequestInterface
getRequest()
at line 119
Exception|null
getException()
at line 127
float
getDuration()
at line 135
ResponseInterface|null
getResponse()
at line 145
bool
isError()
True if the requests threw an error.