[#206] Resolve `slf4j-timbre` issue with `may-log?` and namespace filtering

This commit is contained in:
Peter Taoussanis 2016-12-17 13:48:01 +01:00
parent 0ced7021aa
commit d8d667aea4
1 changed files with 5 additions and 4 deletions

View File

@ -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