Handler for Timbre, Ref. <https://www.taoensso.com/timbre>.
(handler:timbre)(handler:timbre {:keys [timbre-level-fn format-pstats-opts incl-keys]
:or {timbre-level-fn (fn [tufte-level] :info)}})Alpha, subject to change.
Returns a signal handler that:
- Takes a Tufte profiling signal (map).
- Uses Timbre to log the signal as a human-readable string.
Options:
`:timbre-level-fn` ---- (fn [tufte-level]) => timbre-level (default to constantly `:info`)
`:format-pstats-opts` - Opts map provided to `format-pstats` (default nil)
`:incl-keys` ---------- Subset of profiling signal keys to retain from those
otherwise excluded by default: #{:host :thread}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |