jsnlog.js icon indicating copy to clipboard operation
jsnlog.js copied to clipboard

Use dir for objects in consoleAppender

Open mperdeck opened this issue 11 years ago • 0 comments

Improve the consoleAppender so that when log item is an object, it: For chrome, it passes the object (not a stringified version) to console.log (does same as dir, but bit more user friendly) For Firefox, it passes it to console.dir. However, if user uses firebug, would be better to use console.log as well. For IE, it uses the stringified version (its log and dir don't understand embedded json objects inside another json object)

mperdeck avatar Mar 08 '14 07:03 mperdeck