使用sfNoLogger时,Symfony Web调试工具栏消失 [英] Symfony web debug tool bar disappears when using sfNoLogger
本文介绍了使用sfNoLogger时,Symfony Web调试工具栏消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在factory.yml中使用sfNoLogger时,为什么Web调试工具栏消失了:
Why does the web debug tool bar disappear when I use sfNoLogger in the factories.yml:
dev:
logger:
class: sfNoLogger
param:
level: err
loggers: ~
当我删除这些行时,将显示工具栏.
When I remove these lines the tool bar appears.
推荐答案
因为sf * 否 *记录器不会不记录任何内容.通常用于生产.
Because the sf*No*Logger does not log anything. It's usually used for production.
这篇关于使用sfNoLogger时,Symfony Web调试工具栏消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文