Awesome! Thanks for sharing. For those who are wondering what debug does exactly, I suggest checking out the screenshots in the node port's GitHub page. (Any chance you can borrowsteal them?)
There's also flatland.useful.debug/? for inspecting forms. ( https://github.com/amalloy/useful/blob/develop/src/flatland/useful/debug.clj ) On Sat, Jul 5, 2014 at 7:10 AM, Sun Ning <classicn...@gmail.com> wrote: > Hi all, > > I just ported node debug[1] library to clojure, hoping it could be helpful > in clojure world. The debug library is widely used in node projects. The > usage is very simple: print debug message when certain namespace is enabled > via environment variable DEBUG. > > https://github.com/sunng87/debug > > The Clojure version of debug has almost all features of node one. And > there are some advantages: > > * No need to configure module name since we have *ns* in clojure > * Zero overhead in runtime if debug is disabled: the debug macro won't > produce anything > > Compared with logging tools of clojure, the debug library is: > > * Much simpler, no xml or properties at all > * Light weight, no additional dependencies > > > > [1] https://github.com/visionmedia/debug > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- You received this message because you are subscribed to the Google > Groups "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Kind Regards, Atamert Ölçgen -+- --+ +++ www.muhuk.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.