mirror of
https://github.com/status-im/timbre.git
synced 2025-01-19 08:22:15 +00:00
Remove unnecessary set-config!
destructuring
This commit is contained in:
parent
03d2c0c242
commit
7935493a22
@ -106,7 +106,7 @@
|
|||||||
:append true)
|
:append true)
|
||||||
(catch java.io.IOException _))))}}}))
|
(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 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))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user