On Jan 12, 4:46 pm, Timothy Pratley <timothyprat...@gmail.com> wrote:
> My thought would be to drop exceptions from normal logging calls.

You mean dropping it from the level-specific macros such as error and
fatal?  I'm inclined to disagree; being able to access the exception
instance itself is a Good Thing.

It should be a moot issue anyway since I'm just going to leave the
extant macros as they are, and just add logf, logp, and the associated
level-specific versions, e.g., debugf and debugp.  Hopefully that
makes everyone happy.

I'm also including the optimization I mentioned earlier regarding
skipping the instance? check for the common case where a string
literal proves there's no throwable param.

New macros: http://gist.github.com/275928
-- 
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

Reply via email to