Update spit-appender example

I think this is the new way of using it
This commit is contained in:
whodidthis 2015-06-11 01:05:29 +03:00
parent 66df24e8cc
commit bd3894c583
1 changed files with 3 additions and 1 deletions

View File

@ -226,8 +226,10 @@ A simple query utility is provided: `car-appender/query-entries`.
#### File appender #### File appender
```clojure ```clojure
;; (:require [taoensso.timbre.appenders.core :as appenders]) ; Add to ns
(timbre/merge-config! (timbre/merge-config!
{:appenders {:spit {:enabled? true :opts {:spit-finame "/path/my-file.log"}}}}) {:appenders {:spit (appenders/spit-appender {:fname "/path/my-file.log"})}})
``` ```
#### Other included appenders #### Other included appenders