Remove unnecessary `set-config!` destructuring

This commit is contained in:
Peter Taoussanis 2013-03-17 14:40:32 +07:00
parent 03d2c0c242
commit 7935493a22
1 changed files with 2 additions and 2 deletions

View File

@ -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