Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend Framework 1.9.x and Firebug

Anybody here can point me on the right direction on using firebug for logging on Zend 1.9.x ?

I am using this : (from Zend Framework Manual page)

// 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);

but its not working at all.

like image 944
sakurai Avatar asked Nov 26 '25 02:11

sakurai


1 Answers

after making sure that you had a firephp installed you can check out these vedio for more informations about ZF and Firebug || how to work Firephp and how to debug a sample ajax request STEP BY STEP and even how to create a firebug action helper

part 1 : http://www.zendcasts.com/debugging-zend-projects-with-firebug/2009/08/

part 2 : http://www.zendcasts.com/custom-action-helpers-for-firebug/2009/08/

hopefully this will help you

like image 136
tawfekov Avatar answered Nov 27 '25 14:11

tawfekov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!