Skip to content

Instantly share code, notes, and snippets.

@ptaoussanis
Created July 4, 2012 05:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptaoussanis/3045473 to your computer and use it in GitHub Desktop.
Save ptaoussanis/3045473 to your computer and use it in GitHub Desktop.
Change standard Timbre appenders to use println instead of atomic (buffering) printer
(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