Liking cljdoc? Tell your friends :D
All platforms.

taoensso.tufte.timbre

Simple logging handler for integration with Timbre.

timbre-handlerclj/s

(timbre-handler)
(timbre-handler {:keys [timbre-level format-pstats-opts]
                 :or {timbre-level :info}})
Returns a simple handler fn for use with `add-handler!` that:
  1. Formats `profile` pstats with `format-pstats`, and
  2. Logs the resulting string table with Timbre.

Options:
  `:format-pstats-opts` - Opts map provided to `format-pstats`
  `:timbre-level`       - Timbre level, or ifn to map profiling->Timbre level
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close