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)]
|
||||
(and
|
||||
(level>= level min-level)
|
||||
(boolean ; Resolves #206 (issue with slf4j-timbre)
|
||||
(ns-filter
|
||||
(get config :ns-whitelist)
|
||||
(get config :ns-blacklist)
|
||||
?ns-str)
|
||||
?ns-str))
|
||||
true))))
|
||||
|
||||
(comment (qb 1e5 (may-log? :info))) ; 34.13
|
||||
|
|
Loading…
Reference in New Issue