(get-namespace-prefix)
Returns the namespace prefix for use in logging config.
e.g. when called from the namespace signal.organisations-api, returns "signal.*"
Returns the namespace prefix for use in logging config. e.g. when called from the namespace signal.organisations-api, returns "signal.*"
(init!)
(init! config)
Initialise Timbre configuration and SLF4J bridge.
Initialise Timbre configuration and SLF4J bridge.
(output-fn data)
(output-fn opts data)
Modification of timbre's default output-fn which adds the thread name.
See timbre/default-output-fn
.
Default (fn [data]) -> string output fn.
Use(partial output-fn <opts-map>)
to modify default opts.
Modification of timbre's default output-fn which adds the thread name. See `timbre/default-output-fn`. Default (fn [data]) -> string output fn. Use`(partial output-fn <opts-map>)` to modify default opts.
(set-log-level! log-level)
(set-log-level! namespace log-level)
Set the log level to 'new-value' (either a string or a keyword). See https://github.com/ptaoussanis/timbre for all possible values. Return a boolean for successful, along with a message.
Set the log level to 'new-value' (either a string or a keyword). See https://github.com/ptaoussanis/timbre for all possible values. Return a boolean for successful, along with a message.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close