Skip to main content

spyf

macro

clojure.tools.logging/spyf

(spyf [fmt expr] [level fmt expr])
Evaluates expr and may write (format fmt result) to the log. Returns the result of expr. Defaults to :debug log level. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

No examples yet. Be the first to add one!

Categories