阅读背景:

正确的方式从Symfony2中的实体和存储库进行日志记录

来源:互联网 

What is a way to log messages or errors from an Entity or Repository class in the symfony2 architecture? In symfony1 you could use the singleton to kill puppies by doing something like this to get the logger from anywhere:What is a way to log messages or errors from an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: