Hello,
I have a module boot strap class that I want to create a logger in that i only need in said module, this all works fine.
But in my controller when i try and get the logger from the bootstrap with this command I get a null back
$log = $this->getInvokeArg('bootstrap')->getResource('logger');
If i move the _initLogger() method to the main application bootstrap file it works fine. It's only when it's in the module bootstrap. Does the module bootstrap not save the resources or does it save it in a different way.
Let me know if you need any more code and I'll be happy to post some.
Jon
2009年12月9日星期三
订阅:
博文评论 (Atom)
没有评论:
发表评论