mirror of https://github.com/status-im/timbre.git
README: mention explicit-config API
This commit is contained in:
parent
65d21595bb
commit
28ccfc1565
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue