Take a look at ConsoleExport it could fit your needs or be improved. http://www.softwareishard.com/blog/consoleexport/
Honza On Mar 18, 6:43 am, "P.J." <[email protected]> wrote: > Is there any way to pull all the messages from the console log? Basically > everything you see in the console pulled and returned by some function as a > string, object, JSON formatted string, etc. > > I've got an idea for implementing a way for users to submit bug reports to > website owners just like we can send crash reports for various applications > to the appropriate software vendors. Really simple actually... the hard part > is accessing the console log. > > My first workaround was for every console.log/warn/error/info/etc I could > make a second call to a function that would log the same error message; but > that gets tedious and there's too much duplication going on. > > And I currently have not found a way to "listen" for function calls like > "console.log('Test');". That would be awesome since I could use a variation > on the method above to log to another system while still logging to the > Firebug console. Basically intercept the message, log it, and send it on its > way again to the Firebug console. > > Any ideas? -- 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 http://groups.google.com/group/firebug?hl=en.
