FirePHP, FireBug ve Zend Framework bir araya gelince ortaya guzel bir debug mekanizması çıkıyor. Önce
FireBug sonra
FirePHPZend döküman:
http://framework.zend.com/manual/en/zend.log.writers.html#zend.log.writers.firebugİşi yapan kod:
// Place this in your bootstrap file before dispatching your front controller
$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);
// Use this in your model, view and controller files
$logger->log('This is a log message!', Zend_Log::INFO);
Hiç yorum yok:
Yorum Gönder