DebugProcessor

DebugProcessor

class DebugProcessor implements DebugLoggerInterface

Methods

__invoke(array $record)
array getLogs()

Returns an array of logs.

int countErrors()

Returns the number of errors.

Details

__invoke(array $record)

Parameters

array $record

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

int countErrors()

Returns the number of errors.

Return Value

int The number of errors

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Bridge/Monolog/Processor/DebugProcessor.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部