mirror of https://github.com/status-im/timbre.git
[#126] Fix broken appender examples in README
This commit is contained in:
parent
51f2813ce5
commit
e7f7b232a8
12
README.md
12
README.md
|
@ -208,7 +208,7 @@ lein uberjar # Compile jar ''
|
|||
;; [com.taoensso/carmine "2.10.0"] ; Add to project.clj deps
|
||||
;; (: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:
|
||||
|
@ -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
|
||||
|
||||
(timbre/merge-config!
|
||||
{:appenders {:postal
|
||||
(postal-appender/make-appender {}
|
||||
{:postal-config
|
||||
^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"}
|
||||
{:from "me@draines.com" :to "foo@example.com"}})}})
|
||||
{:appenders
|
||||
{:postal
|
||||
(postal-appender/postal-appender
|
||||
^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"}
|
||||
{:from "me@draines.com" :to "foo@example.com"})}})
|
||||
```
|
||||
|
||||
#### File appender
|
||||
|
|
Loading…
Reference in New Issue