News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tony Bibbs' Blog:
Cutting Use of Zend_Log in Half
May 30, 2008 @ 15:24:20

Tony Bibbs has posted a mini-case study about how, at his work, they cut their use of the Zend_Log component of the Zend Framework in half:

As part of the framework we use at work, we borrow what we feel are the best components out there and logging is a key part of that. Logging should be simple to setup, easy to use and should minimize work on the developer. After all, you are going to do a lot of logging, right?

He shows how, with a few changes to how they log (creation of a custom logger), it reduces the number of calls to load a Zend_Registry object each time something needs to be recorded. His code is included in the post along with examples of it in action.

0 comments voice your opinion now!
zendlog logging zendframework component zendregistry custom log


blog comments powered by Disqus

Similar Posts

Community News: Unofficial Zend Framework Forums - Zfforums.com

Padraic Brady's Blog: Zend_Service_Openid Is dead; But It's Reincarnation Is Coming

Zend Developer Zone: Zend Framework 0.8.0 Released

ZendCasts.com: Working with ZendX_JQuery

Jan Lehnardt's Blog: Using the Zend Framework with Code Igniter (an alternative)


Community Events





Don't see your event here?
Let us know!


language podcast series symfony conference interview artisanfiles release list community opinion composer introduction voicesoftheelephpant security laravel tool framework version library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework