Liking cljdoc? Tell your friends :D

ow.logging.api.alpha


attachclj/s

(attach obj)

Attaches the current logging info as metadata to obj. Will not do anything if obj is not an instance of IObj, because metadata cannot be attached in this case.

Attaches the current logging info as metadata to obj. Will not do anything if obj is
not an instance of IObj, because metadata cannot be attached in this case.
sourceraw docstring

debugclj/s

(debug msg & [data])
source

detachclj/s

(detach obj)

Returns the attached logging info from obj.

Returns the attached logging info from obj.
sourceraw docstring

errorclj/s

(error msg & [data])
source

fatalclj/s

(fatal msg & [data])
source

get-checkpointsclj/s

(get-checkpoints)

Returns the current logging checkpoints.

Returns the current logging checkpoints.
sourceraw docstring

get-root-checkpointclj/s

(get-root-checkpoint)

Returns the root/first/topmost logging checkpoint.

Returns the root/first/topmost logging checkpoint.
sourceraw docstring

infoclj/s

(info msg & [data])
source

logclj/s

(log level msg & [data])

Prints a log message based on the current logging info.

Prints a log message based on the current logging info.
sourceraw docstring

log-dataclj/s

(log-data level msg & [data])

Returns current logging data augmented with msg and data.

Returns current logging data augmented with msg and data.
sourceraw docstring

traceclj/s

(trace msg & [data])
source

warnclj/s

(warn msg & [data])
source

with-checkpointclj/smacro

(with-checkpoint name & body)

Adds a logging checkpoint.

Adds a logging checkpoint.
source (clj)source (cljs)raw docstring

with-dataclj/smacro

(with-data data & body)

Adds user data into the current logging info, so that it will be available in subsequent log invocations.

Adds user data into the current logging info, so that it will be available in subsequent log invocations.
source (clj)source (cljs)raw docstring

with-historical-logging-infoclj/smacro

(with-historical-logging-info logging-info & body)

Merges given logging-info with current logging-info. Assumes that given logging-info is 'older' than the current one and thus prepends the former's checkpoints to the latter's.

Merges given logging-info with current logging-info. Assumes that given logging-info is 'older'
than the current one and thus prepends the former's checkpoints to the latter's.
source (clj)source (cljs)raw docstring

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

× close