README: mention explicit-config API

This commit is contained in:
Peter Taoussanis 2015-07-29 13:42:19 +07:00
parent 65d21595bb
commit 28ccfc1565
1 changed files with 5 additions and 1 deletions

View File

@ -182,7 +182,11 @@ The **ns filters** may be set:
* Statically using: `timbre/set-config!`/`timbre/merge-config!`.
* Dynamically using: `timbre/with-config`.
There are also variants of the logging utils that take explicit config args.
There are also variants of the core logging macros that take an **explicit config arg**:
```clojure
(timbre/log* <config-map> <level> <& args>) ; or
(timbre/logf* <config-map> <level> <& args>)
```
Logging calls excluded by a compile-time option (e.g. during Cljs compilation) will be **entirely elided from your codebase**, e.g.:
```bash