Liking cljdoc? Tell your friends :D

com.walmartlabs.lacinia.trace

Light-weight, asynchronous logging built around tap>.

Follows the same pattern as asserts: tracing may be compiled or not; if compiled, it may be enabled, or not. Finally, you must add a tap (typically, clojure.pprint/pprint) to receive the maps that trace may produce.

Light-weight, asynchronous logging built around tap>.

Follows the same pattern as asserts: tracing may be compiled or not; if compiled,
it may be enabled, or not.  Finally, you must add a tap (typically,
clojure.pprint/pprint) to receive the maps that trace may produce.
raw docstring

*compile-trace*clj

If false (the default), calls to trace evaluate to nil.

If false (the default), calls to trace evaluate to nil.
sourceraw docstring

*enable-trace*clj

If false (the default is true) then compiled calls to trace are a no-op.

If false (the default is true) then compiled calls to trace
are a no-op.
sourceraw docstring

set-compile-trace!clj

(set-compile-trace! value)
source

set-enable-trace!clj

(set-enable-trace! value)
source

tracecljmacro

(trace & kvs)

Calls to trace generate a map that is passed to tap>.

The map includes keys: :in - a symbol of the namespace and function :line - the line number of the trace invocation (if available) :thread - the string name of the current thread

Additional keys and values may be supplied.

trace may expand to nil, if compilation is disabled.

Any invocation of trace evaluates to nil.

Calls to trace generate a map that is passed to `tap>`.

The map includes keys:
:in - a symbol of the namespace and function
:line - the line number of the trace invocation (if available)
:thread - the string name of the current thread

Additional keys and values may be supplied.

trace may expand to nil, if compilation is disabled.

Any invocation of trace evaluates to nil.
sourceraw docstring

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

× close