[#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)] 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