cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
legowerewolf
Making moves
Status: New idea

There's no way to export messages from the console log in a way that preserves formatting and other metadata. In FF, all you can do is select all, copy, and paste into another file. Chrome lets you skip the copy/paste and can save to a new file directly, but it's still just plain text.

There should be some way to export console logs in a machine-readable way that preserves:

  • Log level (debug/info/warn/error)
  • Callsite (the link to where the message was logged from)
  • Nesting/grouping (console.group() and related)
  • Logged arrays and objects
  • Other metadata?
2 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

dbareis
New member

I want the user to be able to click a button I provide to capture the console log and email it to me.

As far as I know capturing is not possible programmatically with or without formatting which is ridiculous.