Liking cljdoc? Tell your friends :D

drawknife.core


debugcljmacro

(debug log-ctx id data & args)
source

errorcljmacro

(error log-ctx id data & args)
source

infocljmacro

(info log-ctx id data & args)
source

log!cljmacro

(log! level logger id data & args)

Log 'data' via timbre on a specific 'level' and with context 'logger', where 'id' should be a namespace'd keyword and 'data' is the information to log. If 'log-ctx' is nil, 'data' will be the only output. Potential exception is expected as the first element of 'args'.

Log 'data' via timbre on a specific 'level' and with context 'logger', where 'id'
should be a namespace'd keyword and 'data' is the information to log. If 'log-ctx'
is nil, 'data' will be the only output. Potential exception is expected as the
first element of 'args'.
sourceraw docstring

output-jsonclj

(output-json)
(output-json opts)
source

timbre-json-println-loggerclj

(timbre-json-println-logger log-level & [{:keys [appenders filename]}])
source

timbre-loggerclj

(timbre-logger log-level appender filename)

Setup timbre logging with provided configuration.

Setup timbre logging with provided configuration.
sourceraw docstring

warncljmacro

(warn log-ctx id data & args)
source

withclj

(with logger f & args)

Add more context to an existing log context 'logger' by calling 'f' on the content of the given log context.

Add more context to an existing log context 'logger' by calling 'f' on the
content of the given log context.
sourceraw docstring

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

× close