Clean up unnecessary destructuring.

This commit is contained in:
ken restivo 2014-02-22 09:24:07 -08:00
parent 7777e1d07f
commit 603584e13c
1 changed files with 2 additions and 3 deletions

View File

@ -64,8 +64,7 @@
:pattern :daily})
path: logfile path
pattern: frequency of rotation, avialable values: :daily (default), :weekly, :monthly"
[& [appender-opts {:keys [path pattern]
:or {pattern :daily}}]]
(let [default-appender-opts {:enabled? true :min-level nil}]
[& [appender-opts]]
(let [default-appender-opts {:enabled? true :min-level nil :pattern :daily}]
(merge default-appender-opts appender-opts
{:fn appender-fn})))