I've pushed the changes to my fork of contrib[1] and would like to get feedback before pushing to contrib master.
Changes to logging.clj[2]: New features: - Log and LogFactory protocols allow adding new implementations - log macros for using println-style args - log macros for using format-style args Improvements: - Fixed reflection in log-stream - log-capture! now optionally takes args specifying out and err logging levels - with-logs now optionally takes args specifying out and err logging levels - Fixed synchronization issue around calling System.setOut/setErr - spy uses pprint to format output Breaking changes from 1.0: - *allow-direct-logging*: Replaced with improved functionality via *force* - *impl-name*: Replaced with impl-info fn on LogFactory protocol - trace/debug/etc: Now take args like println, throwable position changed - log: order of args changed to keep consistency with new println and format style args' placement of throwable [1] http://github.com/ataggart/clojure-contrib [2] http://github.com/ataggart/clojure-contrib/blob/master/src/main/clojure/clojure/contrib/logging.clj -- 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