mirror of https://github.com/status-im/timbre.git
[#206] Resolve `slf4j-timbre` issue with `may-log?` and namespace filtering
This commit is contained in:
parent
0ced7021aa
commit
d8d667aea4
|
@ -234,10 +234,11 @@
|
||||||
min-level (get config :level :report)]
|
min-level (get config :level :report)]
|
||||||
(and
|
(and
|
||||||
(level>= level min-level)
|
(level>= level min-level)
|
||||||
(ns-filter
|
(boolean ; Resolves #206 (issue with slf4j-timbre)
|
||||||
(get config :ns-whitelist)
|
(ns-filter
|
||||||
(get config :ns-blacklist)
|
(get config :ns-whitelist)
|
||||||
?ns-str)
|
(get config :ns-blacklist)
|
||||||
|
?ns-str))
|
||||||
true))))
|
true))))
|
||||||
|
|
||||||
(comment (qb 1e5 (may-log? :info))) ; 34.13
|
(comment (qb 1e5 (may-log? :info))) ; 34.13
|
||||||
|
|
Loading…
Reference in New Issue