2013-03-13 21:52, Ivan Habunek skrev:
On 13 March 2013 20:49, Gunnar Lindholm
<gunnar.lindh...@mobileloyalty.com> 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 examples
but I haven't had much time recently to work on the project recently.
Do you have something specific that you want to accomplish? Maybe I
can help you there.


Hi.

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 defined, but I'd like to define these two foo/bar loggers also.

Any help would be greatly appreciated.
Thank you.

Reply via email to