php.INFO: The
Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\DebugHandlerPass
class is deprecated since version 2.12 and will be removed in 3.0. Use
AddDebugLogProcessorPass in FrameworkBundle instead. {“type”:16384,
“file”:”/mnt/400Go/www/sy1/vendor/symfony/monolog-bundle/DependencyInjection/Compiler/DebugHandlerPass.php”,
“line”:14,“level”:28928,“stack”:[…]
我正在使用symfony 3.1.15和Monolog 2.8 ……所以这个东西应该已经删除了,不是吗?
我可以在/vendor/symfony/monolog-bundle/DependencyInjection/Compiler/DebugHandlerPass.php中看到DebugHandlerPass类中的消息
在/vendor/symfony/monolog-bundle/MonologBundle.php中,有两行调用DebugHandlerPass类:
use Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\DebugHandlerPass; $container->addCompilerPass(new DebugHandlerPass($channelPass));
但PHP文件中没有一个是AddDebugLogProcessorPass类…
也许版本不匹配.如果有人能给我一个提示,那就太好了.
最好的祝福,
MC
https://packagist.org/packages/symfony/monolog-bundle
问候,
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。