From bd3894c583533df002c4b9f2397a75a8ed618c94 Mon Sep 17 00:00:00 2001 From: whodidthis Date: Thu, 11 Jun 2015 01:05:29 +0300 Subject: [PATCH] Update spit-appender example I think this is the new way of using it --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a7079d..6a84c64 100644 --- a/README.md +++ b/README.md @@ -226,8 +226,10 @@ A simple query utility is provided: `car-appender/query-entries`. #### File appender ```clojure +;; (:require [taoensso.timbre.appenders.core :as appenders]) ; Add to ns + (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