Monolog (which is the logger used by default in Symfony2) comes with a FirePHP 
handler that works very well for this kind of thing.

Check it out: http://www.firephp.org/

Here is a quick overview on how it works with Symfony: 
http://www.craftitonline.com/2011/08/symfony2-ajax-monolog-firephp-the-simple-story/

The Symfony Standard edition's config_dev.yml configuration already specifies 
the FirePHP handler; all you have to do is install the FirePHP extension into 
your browser and you'll start getting log messages in your javascript console.


Cheers!

On Jul 2, 2012, at 1:20 PM, Nikita Nefedov wrote:

> Hi, I accidently found this error handler on reddit http://phperror.net/ 
> Have a look at ajax error handling, he is just makes fake XMLHttpRequest 
> object in js so he can track php errors. I think that would be a nice feature 
> for symfony error handler!
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to