mirror of https://github.com/status-im/timbre.git
fixed timbre.tools.logging/use-timbre
This commit is contained in:
parent
a6ecb2c1e6
commit
1d592b85cb
|
@ -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))))
|
||||||
|
|
Loading…
Reference in New Issue