+1 from me. Using (info (str xx xx xxx)) seems wrong. -- Pull me down under...
On Tue, Jan 12, 2010 at 12:09 PM, Phil Hagelberg <p...@hagelb.org> wrote: > > I really like the clojure.contrib.logging library, but I find myself > often getting tricked into thinking it works like println: > > (info "Doing a thing with a vector: " my-vec) > > or > > (catch Exception e > (warn "Problem doing a thing with: " my-vec e)) > > Attached is a patch altering the logging library to behave this way by > accepting var-args and treating the last one as a throwable if applicable. > > What do you think? Do other people have the same problem I do? > > -Phil > > > -- > 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 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