Liking cljdoc? Tell your friends :D

full.core.log


check-config-fileclj

(check-config-file config-file)
source

configureclj

(configure)
(configure config-file)
source

contextclj

source

debugclj/smacro

(debug & args)

Logs args with debug loglevel. Returns nil.

Logs args with debug loglevel. Returns nil.
sourceraw docstring

do-debugclj/s

(do-debug & args)

Evaluates all arguments and logs them with debug loglevel. Returns the value of the last argument.

Evaluates all arguments and logs them with debug loglevel. Returns the value
of the last argument.
sourceraw docstring

do-infoclj/s

(do-info & args)

Evaluates all arguments and logs them with info loglevel. Returns the value of the last argument.

Evaluates all arguments and logs them with info loglevel. Returns the value
of the last argument.
sourceraw docstring

enable-log-print!cljs

(enable-log-print!)

Set print-fn to console.log

Set *print-fn* to console.log
sourceraw docstring

errorclj/smacro

(error x & more)
source

groupclj/smacro

(group & args)

Begins grouped log.

Begins grouped log.
sourceraw docstring

group-endclj/smacro

(group-end)

Ends grouped log. ClojureScript only.

Ends grouped log. ClojureScript only.
sourceraw docstring

infoclj/smacro

(info & args)

Logs args with info loglevel. Returns nil.

Logs args with info loglevel. Returns nil.
sourceraw docstring

level-enabled?clj/smacro

(level-enabled? level)

Checks if log level is enabled.

Checks if log level is enabled.
sourceraw docstring

logclj/smacro

(log & args)
source

traceclj/smacro

(trace & args)

Logs args with trace loglevel. Returns nil.

Logs args with trace loglevel. Returns nil.
sourceraw docstring

warnclj/smacro

(warn & args)
source

with-mdcclj/smacro

(with-mdc context & body)

Adds an MDC map to any logging wrapped in the macro. Macro can be nested. Note that this won't work well across go blocks since execution switches between threads and doesn't pass through thead locals. (with-mdc {:key "value"} (log/info "yay"))

Adds an MDC map to any logging wrapped in the macro.  Macro can be nested.
 Note that this won't work well across go blocks since execution switches
 between threads and doesn't pass through thead locals.
(with-mdc {:key "value"} (log/info "yay"))
sourceraw docstring

with-prefixclj/smacro

(with-prefix context & body)
source

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

× close