interface LoggerInterface

Methods

getTimer()

Returns a timer to be used to gather timing information for the next request.

log(float $api, RequestInterface $request, TimerInterface $timer, ResponseInterface $response = null, Exception $exception = null)

Log information about a request.

Details

at line 22
TimerInterface getTimer()

Returns a timer to be used to gather timing information for the next request.

Return Value

TimerInterface

at line 33
log(float $api, RequestInterface $request, TimerInterface $timer, ResponseInterface $response = null, Exception $exception = null)

Log information about a request.

Parameters

float $api
RequestInterface $request
TimerInterface $timer
ResponseInterface $response
Exception $exception