mirror of https://github.com/status-im/timbre.git
Remove unnecessary `set-config!` destructuring
This commit is contained in:
parent
03d2c0c242
commit
7935493a22
|
@ -106,9 +106,9 @@
|
|||
:append true)
|
||||
(catch java.io.IOException _))))}}}))
|
||||
|
||||
(defn set-config! [[k & ks] val] (swap! config assoc-in (cons k ks) val))
|
||||
(defn set-config! [ks val] (swap! config assoc-in ks val))
|
||||
(defn merge-config! [& maps] (apply swap! config utils/deep-merge maps))
|
||||
(defn set-level! [level] (set-config! [:current-level] level))
|
||||
(defn set-level! [level] (set-config! [:current-level] level))
|
||||
|
||||
;;;; Define and sort logging levels
|
||||
|
||||
|
|
Loading…
Reference in New Issue