Re: Configuration in PHP format

2013-03-14 Thread Ivan Habunek
On 14 March 2013 09:04, Gunnar Lindholm wrote: > Yes, its acctually a simple case. > > I want to be able to load two different loggers > > $loggerFoo = Logger::getLogger('foo'); > $loggerBar = Logger::getLogger('bar'); > > and they should write to different files. > > I have a file with rootLogger

Re: Configuration in PHP format

2013-03-14 Thread Gunnar Lindholm
2013-03-13 21:52, Ivan Habunek skrev: On 13 March 2013 20:49, Gunnar Lindholm wrote: I wonder if you could add some more complex example of a configuration made in PHP? It is not obvious how to write a configuration with loggers that you give explicit names. I'm aware of that, and have been

Re: Configuration in PHP format

2013-03-13 Thread Ivan Habunek
On 13 March 2013 20:49, Gunnar Lindholm wrote: > I wonder if you could add some more complex example of a configuration > made in PHP? > > It is not obvious how to write a configuration with loggers that you > give explicit names. I'm aware of that, and have been meaning to write up better exampl