News Feed
Sections




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

ZendCasts.com:
Transparent Logging with Zend_Log
June 17, 2010 @ 08:35:42

New on the ZendCasts.com site, there's a screencast about using Zend_Log to create a full logging framework for your Zend Framework-based application.

I was working on a project for a client the other day and noticed a couple of lines in the ErrorController for automatically logging errors with Zend_Log. In 10 minutes, you can have a fully integrated logging framework. I also implement a singleton pattern for reusing your Zend_Log configuration (defined in the application.ini) anywhere else in your application.

You can watch the screencast via the in-page player and follow along with the code if you'd like to download it from here.

0 comments voice your opinion now!
screencast tutorial zendframework zendlog logging


blog comments powered by Disqus

Similar Posts

Maarten Balliauw's Blog: Indexing Word 2007 (docx) files with Zend_Search_Lucene

Brian Moon's Blog: Using ini files for PHP application settings

Joey Rivera's Blog: Automate Db Model Creation with Zend_CodeGenerator_Php_Class

Matthew Weier O'Phinney's Blog: A Simple Resource Injector for ZF Action Controllers

Federico Cargnelutti' Blog: Adding theme support to your Zend Framework application


Community Events





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


api series language code community podcast bugfix framework voicesoftheelephpant introduction deployment symfony threedevsandamaybe release list conference interview zendserver tips laravel

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