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