Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • What do you mean by 'pretty print'? Things that appear in the console are being formatted by default (different font colours for different types, ability to expand objects and arrays etc.) Commented Aug 12, 2013 at 11:06
  • Hi @KonradDzwinel, I mean prettify output so that it's more easily read. But I'm not talking about the prettify button ({}) for the source files. But I mean when you have an array f.ex. and don't want it printed to to console as an inline array but stacked. Thank you! Commented Aug 12, 2013 at 12:33
  • DevTools have no settings to change the default console output. However you can override console.log with your own function. See my answer here: stackoverflow.com/questions/18178896/… Commented Aug 14, 2013 at 7:12