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

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

Log information about a request.

Details

at line 22
__construct()

Empty constructor for forward compatibility.

at line 29
TimerInterface getTimer()

Return Value

TimerInterface

at line 45
void log(float $api, RequestInterface $request, StandardTimer $timer, ResponseInterface $response = null, Exception $exception = null)

Log information about a request.

Parameters

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

Return Value

void