Hi *,

I've just finished the last few bits of my CLJS logging library:

https://github.com/rauhs/klang

Simply git clone it and run "lein figwheel" to see a demo. (There is also an 
older demo at http://rauhs.github.io/klang/ but I it's not running with the 
latest changes)

Features:

* Tabs filter/change messages however you like (transducers)
* Syntax highlighting (optional)
* Customize rendering for any log data (transducers)
* Quick and easy search box for each tab (slightly fuzzy with " " -> ".*")
* Freeze the UI to inspect while logs arrive
* Async, non blocking
* Click on any log message to dump the object to the JS console. This allows 
you to inspect the object and even call a logged function.

I also give a few "recipe" macros that allow for eliding any log calls for 
production so no JS code is emitted if wanted. In that case the Klang library 
would not be included in your JS code at all.
The macro indirection also allows you to attach line number and filename to 
each log message (if desired).

Feedback very welcome!

Cheers,
Andy

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to