fixed timbre.tools.logging/use-timbre

This commit is contained in:
Chiao 2013-09-10 11:06:33 +00:00 committed by Chiao
parent a6ecb2c1e6
commit 1d592b85cb
1 changed files with 1 additions and 1 deletions

View File

@ -20,5 +20,5 @@
(get-logger [_ logger-ns] (->Logger logger-ns))) (get-logger [_ logger-ns] (->Logger logger-ns)))
(defn use-timbre [] (defn use-timbre []
(alter-var-root clojure.tools.logging/*logger-factory* (alter-var-root (var clojure.tools.logging/*logger-factory*)
(constantly (->LoggerFactory)))) (constantly (->LoggerFactory))))