There is a new component called Zend_Wildfire_FirebugLogWriter in the
standard incubator.

Proposal:
http://framework.zend.com/wiki/display/ZFPROP/Zend_Wildfire_FirebugLogWriter+-+Christoph+Dorn

The Zend_Wildfire namespace belongs to the http://www.wildfirehq.org/
project. There will be more information available about this project soon.

The Zend_Wildfire_FirebugLogWriter component allows you to send logging
messages to the Firebug Console. The initialization is very simple if
using Zend_Controller_Front (it can also be used without the front
controller - see documentation).

/**
 * Place this in your bootstrap file
 */       
$writer = new Zend_Wildfire_FirebugLogWriter();
$logger = new Zend_Log($writer);

/**
 * Use this in your model, view and controller files
 */       
$logger->log('This is a log message!', Zend_Log::INFO);


Please see the documentation for more options and examples.

There is also a demo application in the incubator.

You will need FirePHP version 0.1.0.5 or better
(http://www.firephp.org/). The 0.1.0.5 FirePHP client extension will be
promoted to 0.1.1 later this week.

Please take a look at this component and provide your feedback.

I am hoping that it can make it into the 1.6 RC2.

Looking forward to your feedback.

Christoph






Reply via email to