[#126] Fix broken appender examples in README

This commit is contained in:
Peter Taoussanis 2015-08-11 19:53:03 +07:00
parent 51f2813ce5
commit e7f7b232a8
1 changed files with 6 additions and 6 deletions

View File

@ -208,7 +208,7 @@ lein uberjar # Compile jar ''
;; [com.taoensso/carmine "2.10.0"] ; Add to project.clj deps ;; [com.taoensso/carmine "2.10.0"] ; Add to project.clj deps
;; (:require [taoensso.timbre.appenders (carmine :as car-appender)]) ; Add to ns ;; (:require [taoensso.timbre.appenders (carmine :as car-appender)]) ; Add to ns
(timbre/merge-config! {:appenders {:carmine (car-appender/make-appender)}}) (timbre/merge-config! {:appenders {:carmine (car-appender/carmine-appender)}})
``` ```
This gives us a high-performance Redis appender: This gives us a high-performance Redis appender:
@ -226,11 +226,11 @@ A simple query utility is provided: `car-appender/query-entries`.
;; (:require [taoensso.timbre.appenders (postal :as postal-appender)]) ; Add to ns ;; (:require [taoensso.timbre.appenders (postal :as postal-appender)]) ; Add to ns
(timbre/merge-config! (timbre/merge-config!
{:appenders {:postal {:appenders
(postal-appender/make-appender {} {:postal
{:postal-config (postal-appender/postal-appender
^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"} ^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"}
{:from "me@draines.com" :to "foo@example.com"}})}}) {:from "me@draines.com" :to "foo@example.com"})}})
``` ```
#### File appender #### File appender