I've been playing around with java.util.logging - comments welcome:
http://github.com/timothypratley/strive/blob/5a6d406750f3531bb1b406e528e95a8f8bdd6e75/clj/timothypratley/logging.clj
http://github.com/timothypratley/strive/blob/5a6d406750f3531bb1b406e528e95a8f8bdd6e75/clj/timothypratley/test-logging.clj

[2009/07/07 21:17:12 INFO]: Hello from println [main
timothypratley.logging$logging-output-stream--76/fn]
[2009/07/07 21:17:12 INFO]: Hello from stdout [main
timothypratley.logging$logging-output-stream--76/fn]
[2009/07/07 21:17:12 WARNING]: Hello from *err* [main
timothypratley.logging$logging-output-stream--76/fn]
[2009/07/07 21:17:12 WARNING]: Hello from stderr [main
timothypratley.logging$logging-output-stream--76/fn]
[2009/07/07 21:17:12 FINEST]: Hello from :finest [main test-logging/
fn]
[2009/07/07 21:17:12 FINE]: DEBUG (+ 1 2)=3 [main test-logging/fn]
[2009/07/07 21:17:12 FINE]: DEBUG
*out*=java.io.outputstreamwri...@182bcde [pool-2-thread-1 test-logging
$fn--102/fn]

--~--~---------~--~----~------------~-------~--~----~
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