I am using Zend_Log, and other required classes, without the MVC framework. I want to add Zend's logging capabilities (and other modules in the future) to my custom classes and I am wondering what the best approach is for doing so.
Right now I have a wrapper for the Zend logger so, presumably, I can access it globally:
My_log::log('Testing', Zend_Log::INFO);
Should I be adding this code to each method in my classes that I want to log? Should I not create logs inside my classes? Is there a smarter way?
I appreciate the help, DC