mirror of https://github.com/status-im/timbre.git
Merge pull request #26 from chiaolun/master
Fix timbre.tools.logging/use-timbre (needs var)
This commit is contained in:
commit
3d1ee6b45b
|
@ -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))))
|
||||
|
|
Loading…
Reference in New Issue