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 66
string
getApi()
at line 74
RequestInterface
getRequest()
at line 82
Exception|null
getException()
at line 90
float
getDuration()
at line 98
ResponseInterface|null
getResponse()
at line 108
bool
isError()
True if the requests threw an error.