PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Slawek Lukasiewicz's Blog: Zend Framework: logging with Firebug and FirePHP

Note: This article was originally published at PHPDeveloper on 25 May 2011.
PHPDeveloper

Slawek Lukasiewicz has a new post to his blog today showing you how to use the popular Firebug extension for Firefox with the FirePHP plugin to make error logging simpler and less obtrusive without ever having to leave the browser.

If you use Firefox, I bet you already know Firebug extension. This is irreplaceable tool for web development. But there is also FirePHP extension, which provides possibility to log into Firebug console from PHP scripts. This is very convenient way for debugging process, because logs are independent from application output.

He shows the integration you can do with the Zend Framework's Zend_Log component to write basic messages and the Zend_Wildfire component to write tabular data back to your browser's console with two snippets of code.