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 53
__construct(string $api, RequestInterface $request, float|null $duration, ResponseInterface $response = null, Exception $exception = null)
LogEntry constructor.
at line 106
string
getApi()
at line 114
RequestInterface
getRequest()
at line 122
Exception|null
getException()
at line 130
float
getDuration()
at line 138
ResponseInterface|null
getResponse()
at line 148
bool
isError()
True if the requests threw an error.