Alex Taggart <alex.tagg...@gmail.com> writes: > Ok here's what I threw together: http://gist.github.com/275527 > > It adds both println-style args as well as a formatting version.
One downside of the new macros is that there is now one more check done at runtime for every use. There used to be just the impl-enabled? and now there is a instance? call as well. Also, I think format requires at least one arg, so (logf :debug) isn't valid. Probably should change the signature to (defmacro logf [level fmt-or-throwable & args] ...) Cheers, Chris Dean
-- 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