Liking cljdoc? Tell your friends :D

signal.logging


get-namespace-prefixcljmacro

(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.*"
raw docstring

init!clj

(init!)
(init! config)

Initialise Timbre configuration and SLF4J bridge.

Initialise Timbre configuration and SLF4J bridge.
raw docstring

output-fnclj

(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.
raw docstring

set-log-level!clj

(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.
raw docstring

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

× close