Transparent Logging with Zend_Log

Lebesold pub­lishes another screen­cast; First of all, I’d like to thank you all for your patience! Zend­casts takes quite a bit of time and research to put together and I’m deeply touched by all your sup­port.
On a per­sonal note, my wife and I are head­ing out of North Amer­ica in a week to visit Namibia and South Africa for 3 months. I’m going to do my best to keep up Zend­casts on a weekly basis, how­ever my con­nec­tiv­ity and upload speed will be lim­ited. We’ll see how it goes!

Now for today’s episode:

I was work­ing on a project for a client the other day and noticed a cou­ple of lines in the Error­Con­troller for auto­mat­i­cally log­ging errors with Zend_Log. In 10 min­utes, you can have a fully inte­grated log­ging frame­work. I also imple­ment a sin­gle­ton pat­tern for reusing your Zend_Log con­fig­u­ra­tion (defined in the application.ini) any­where else in your appli­ca­tion.
Grab a copy of the project or browse the repos­i­tory.
Enjoy!

Watch @ Zend­casts.

Tags: ,

Leave a Comment

*

Get Adobe Flash playerPlugin by wpburn.com wordpress themes