Timbre configuration.
Put logging_filters.edn
file in your resources. The file should
contain a map of namespace prefixes (strings) to log levels.
Timbre configuration. Put `logging_filters.edn` file in your resources. The file should contain a map of namespace prefixes (strings) to log levels.
(add-thread-name-middleware data)
Addds :thread-name entry
Addds :thread-name entry
(assoc-output-fn timbre-config opts)
put one of the predefinedd output-fns into the :println appender
put one of the predefinedd output-fns into the :println appender
(color-output-fn data)
(color-output-fn opts data)
Default (fn [data]) -> string output fn.
Use(partial color-output-fn <opts-map>)
to modify default opts.
Default (fn [data]) -> string output fn. Use`(partial color-output-fn <opts-map>)` to modify default opts.
(configure-timbre*)
(configure-timbre* {:keys [opts level environment logging-filters]})
(plain-output-fn data)
(plain-output-fn opts data)
Default (fn [data]) -> string output fn.
Use(partial default-output-fn <opts-map>)
to modify default opts.
Default (fn [data]) -> string output fn. Use`(partial default-output-fn <opts-map>)` to modify default opts.
(read-logging-filters)
(read-logging-filters f)
minimum levels for different namespaces
minimum levels for different namespaces
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close