jsnlog.js
jsnlog.js copied to clipboard
Use dir for objects in consoleAppender
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)