ErrorsLoggerListener deprecated

ErrorsLoggerListener deprecated

class ErrorsLoggerListener implements EventSubscriberInterface

deprecated

since version 2.6, to be removed in 3.0. Use the DebugHandlersListener class instead.

Injects the logger into the ErrorHandler, so that it can log various errors.

Methods

__construct($channel, LoggerInterface $logger = null)
injectLogger()
static array 登录查看完整内容