A logging namespace for wrapping our logging impl. Uses Timbre to send your logs to a logstash or riemann. Configuration is derived from the config namespace.
A logging namespace for wrapping our logging impl. Uses Timbre to send your logs to a logstash or riemann. Configuration is derived from the config namespace.
(add-appenders! & {:keys [verbose] :or {verbose false}})
(add-defaults a-map)
(add-exception-info ex)
(default-output-fn {:keys [level hostname_ ?ns-str vargs_ ?err_] :as all})
(default-std-output-fn data)
(default-std-output-fn {:keys [no-stacktrace? stacktrace-fonts] :as opts} data)
Default (fn [data]) -> string output fn.
You can modify default options with (partial default-output-fn <opts-map>)
.
Default (fn [data]) -> string output fn. You can modify default options with `(partial default-output-fn <opts-map>)`.
(log-to-logstash)
(log-to-pretty)
(log-to-println)
(log-to-riemann)
(parse-log args
&
{:keys [translate-exception?] :or {translate-exception? true}})
Defines the formatting of the structured log messages. See the test for examples.
Defines the formatting of the structured log messages. See the test for examples.
(pretty-output-fn {:keys [level hostname_ ?ns-str vargs_ ?err_ ?line] :as all})
(stacktrace err & [{:keys [stacktrace-fonts] :as opts}])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close