interface DebugLoggerInterface

DebugLoggerInterface.

Methods

array
getLogs(Request$request =null)

Returns an array of logs.

int
countErrors(Request$request =null)

Returns the number of errors.

void
clear()

Removes all log records.

Details

array getLogs(Request$request =null)

Returns an array of logs.

Parameters

Request $request

Return Value

array channel: ?string, context: array<string, mixed>, message: string, priority: int, priorityName: string, timestamp: int, timestamp_rfc3339: string, }>

int countErrors(Request$request =null)

Returns the number of errors.

Parameters

Request $request

Return Value

int

void clear()

Removes all log records.

Return Value

void