Logging Php to Firebug

Ever wanted to log php to firebug? There are a lot of reasons to do this. E.g. working  on apps for a thrd party plattform like myspace.

The logger is a singleton. you can push any date type in it. the coolest part: it encodes the php class as json object.

logging_firebug

i wrapped it in a simple dummy project with some “oop” javascript in it. give it a try and tell me what you think.

and yes, i know firephp ;)

PhpLogging

 

Leave a Reply

Formatting: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">