in reply to Re: How to "disguise" caller
in thread How to "disguise" caller
Now all reports are logged by Container::dumpReport() method and thus log4perl can't tell which class produced which output. But if container class knew who produced what then it could log it "on behalf" of worker object. In other words i want to "tie" logged result to class that created it.$container->do_FooBarWork(); # Foo::Bar work $container->do_BazWhoWork(); # Baz::Who work $container->createReport(); # renders report for each worker $container->dumpReport(); # dumps all reports to log
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to "disguise" caller
by moritz (Cardinal) on Feb 10, 2011 at 16:17 UTC |