class NullLogger implements LoggerInterface

Implementation of LoggerInterface that logs nothing.

Used in production to reduce overhead.

Methods

__construct()

Empty constructor for forward compatibility.

getTimer()

No description

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

Log information about a request.

Details

at line 25
__construct()

Empty constructor for forward compatibility.

at line 32
TimerInterface getTimer()

Return Value

TimerInterface

at line 46
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