lambdaisland / glogi

A ClojureScript logging library based on goog.log
Mozilla Public License 2.0
119 stars 13 forks source link

glogi/set-level always generates a failed assert #1

Closed KingCode closed 3 years ago

KingCode commented 5 years ago

I am trying to use glogi/set-level, but am getting an error due to line 59 in glogi.cljs:

(glogi/set-level` "my-logger.etc" :error)
;;=> (assert (contains? level lvl))
;; throws an error, since level is a fn object
plexus commented 5 years ago

Thanks! This should be fixed in 0.0-25. Could you try it out and close the ticket or report back?