Re: ClojureScript "console.log"

2012-02-04 Thread David Nolen
On Sat, Feb 4, 2012 at 2:14 PM, Thomas Heller wrote: > Hey, > > I'm playing with ClojureScript and one thing that would help me out in > a big way would be to print out data at certain points. > > I can call (.log js/console "test" 1 2 3 4) and it prints the expected > results, but whenever I wan

Re: ClojureScript "console.log"

2012-02-04 Thread Stuart Sierra
There's a G.Closure library function -- goog.debug.expose -- that generates a string representation of a JavaScript object. http://closure-library.googlecode.com/svn/docs/closure_goog_debug_debug.js.html -S -- You received this message because you are subscribed to the Google Groups "Clojure"

ClojureScript "console.log"

2012-02-04 Thread Thomas Heller
Hey, I'm playing with ClojureScript and one thing that would help me out in a big way would be to print out data at certain points. I can call (.log js/console "test" 1 2 3 4) and it prints the expected results, but whenever I want to log a Clojure Object I just get its classname and can inspect