Returns true if the specific logging level is enabled. Use of this function
should only be necessary if one needs to execute alternate code paths beyond
whether the log should be written to.
(defmacro enabled?
"Returns true if the specific logging level is enabled. Use of this function
should only be necessary if one needs to execute alternate code paths beyond
whether the log should be written to."
([level]
`(enabled? ~level ~(str *ns*)))
([level log-ns]
`(impl-enabled? (impl-get-log ~log-ns) ~level)))
Comments top
No comments for enabled?. Log in to add a comment.