On Sat, Jun 18, 2011 at 8:17 PM, Bart Lauwers <blauw...@gmail.com> wrote: > A bit off topic but: > I would love to see the logger available anywhere from a regular function > without having to do anything special to get to it. > It wouldn't be that difficult to get the have the logger class without > having it spawn multiple instances.
The logger instances are really cheap, and only 4-5 of them are created atm for the various log channels. They reuse all the handlers. I understand your point that calling log() is easier than setting up DI and all, but that also breaks the whole concept of DI. So I'm fairly sure this will never make it's way to the framework itself. But you could easily make a Bundle for it to use in your own projects if you like. Cheers -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en