From 1d592b85cb09d8091f4e51309bd444804f202081 Mon Sep 17 00:00:00 2001 From: Chiao Date: Tue, 10 Sep 2013 11:06:33 +0000 Subject: [PATCH] fixed timbre.tools.logging/use-timbre --- src/taoensso/timbre/tools/logging.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taoensso/timbre/tools/logging.clj b/src/taoensso/timbre/tools/logging.clj index a9714b9..fea6601 100644 --- a/src/taoensso/timbre/tools/logging.clj +++ b/src/taoensso/timbre/tools/logging.clj @@ -20,5 +20,5 @@ (get-logger [_ logger-ns] (->Logger logger-ns))) (defn use-timbre [] - (alter-var-root clojure.tools.logging/*logger-factory* + (alter-var-root (var clojure.tools.logging/*logger-factory*) (constantly (->LoggerFactory))))