Created
July 4, 2012 05:10
-
-
Save ptaoussanis/3045473 to your computer and use it in GitHub Desktop.
Change standard Timbre appenders to use println instead of atomic (buffering) printer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [new-fn (ƒ [{:keys [more] :as args}] | |
(apply println (prefixed-message args) more))] | |
(set-config! [:appenders :standard-out :fn] new-fn) | |
(set-config! [:appenders :standard-out-or-err :fn] new-fn)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment