Would you be interested in implementing this feature given some guidance?
Christoph
FirePHPCore:
- Add the *f() methods
Protocol:
- Review: http://www.firephp.org/Wiki/Reference/Protocol
- Expansion should happen on client
- Log variables to be substituted into <meta> section of message as:
"PrintFParameters": [ "param value 1", ...]
- Log formatting string into <body> section as usual
Extension:
- Review: http://www.firephp.org/Wiki/Reference/CustomizeDisplay
- Modify request processor to look for "PrintFParameters" in meta and
substitute varibales
- Log resulting message as array ( [ ... , ... , ... , ... ] ) so
firebug will substitute the variables for now
- Add support for this.logfToFirebug(mode, data, false, meta) so
substitution will be done inline without having to re-format into array
The PHP and protocol work should be pretty straight forward. The
extension work will be a bit harder especially because it is difficult
to debug. I can do the extension work pretty quick once you get the PHP
part working if you like.
Thanks for taking the initiative to add support for this!
Christoph