Symfony2 API
Class

Symfony\Bridge\Monolog\Handler\DebugHandler

class DebugHandler extends TestHandler implements DebugLoggerInterface

DebugLogger.

Methods

array getLogs()

Returns an array of logs.

integer countErrors()

Returns the number of errors.

Details

at line 28
public array getLogs()

Returns an array of logs.

A log is an array with the following mandatory keys:
timestamp, message, priority, and priorityName.
It can also have an optional context key containing an array.

Return Value

array An array of logs

at line 47
public integer countErrors()

Returns the number of errors.

Return Value

integer The number of errors