class DebugProcessor implements DebugLoggerInterface
__construct(RequestStack $requestStack = null) | ||
__invoke(array $record) | ||
array | getLogs() Returns an array of logs. | |
int | countErrors() Returns the number of errors. | |
clear() Removes all log records. |
RequestStack | $requestStack |
array | $record |
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.
array | An array of logs |
Returns the number of errors.
int | The number of errors |
Removes all log records.
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Monolog/Processor/DebugProcessor.html