Skip to main content

enabled?

macro

clojure.tools.logging/enabled?

(enabled? [level] [level logger-ns])
Returns true if the specific logging level is enabled. Use of this macro should only be necessary if one needs to execute alternate code paths beyond whether the log should be written to.

No examples yet. Be the first to add one!

Categories