On Mar 24, 7:39 pm, [email protected] wrote:
> Actually maybe just a simple question: Is it possible to get the console
> output using API? e.g. Erros, Warnings, Info etc
Yes

Take a look at this extension:
https://github.com/firebug/consoleexport

Specifically at this code:
https://github.com/firebug/consoleexport/blob/master/chrome/content/consoleexport/consoleListener.js#L27

You can register a console listener and intercepts logs:

You are mostly interested in 'log' and 'logFormatted' calls I guess.

Honza

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Firebug" 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
https://groups.google.com/forum/#!forum/firebug

--- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to