Liking cljdoc? Tell your friends :D

ichnaie.core


*trace-stack*clj

source

*tracer*clj

source

*tracing-enabled*clj

source

*warn-always*clj

source

disable-tracing!clj

(disable-tracing!)

Alters the root of tracing-enabled to false

Alters the root of *tracing-enabled* to false
sourceraw docstring

enable-tracing!clj

(enable-tracing!)

Alters the root of tracing-enabled to true

Alters the root of *tracing-enabled* to true
sourceraw docstring

set-global-tracer!clj

(set-global-tracer! tracer)

Alters (mutates) the root of the tracer dynamic var to refer to the supplied tracer. Complains if tracer is not either a Tracer or null.

Alters (mutates) the root of the *tracer* dynamic var to refer
to the supplied tracer. Complains if tracer is not either a Tracer or null.
sourceraw docstring

tracedclj

(traced fn-form)

This function is designed for use with the morphe library. When triggered, this wraps each fn body with a tracing macro using an operation name of the form: <namespace>/<fn-name>:<params> For instance: "clojure.core/+:[x y & more]"

This function is designed for use with the morphe library. When triggered, this wraps each
fn body with a `tracing` macro using an operation name of the form:
<namespace>/<fn-name>:<params>
For instance:
"clojure.core/+:[x y & more]"
sourceraw docstring

tracingcljmacro

(tracing operation-name & body)

When tracing is enabled, this creates a span with the given operation name (as the child of any previous span on the stack), pushes it onto the span stack, and executes the body in the context of that span. Completes the span and pops it from the stack on exit.

When tracing is enabled, this creates a span with the given operation name (as the child of any
previous span on the stack), pushes it onto the span stack, and executes the body in the context
of that span. Completes the span and pops it from the stack on exit.
sourceraw docstring

tracing-with-spancljmacro

(tracing-with-span span & body)

When tracing is enabled, this pushes the provided span onto the span stack; then the body is executed in the context of that span. Completes the span and pops it from the stack on exit.

When tracing is enabled, this pushes the provided span onto the span stack; then the body
is executed in the context of that span. Completes the span and pops it from the stack on exit.
sourceraw docstring

tracing-with-spanbuildercljmacro

(tracing-with-spanbuilder builder & body)

When tracing is enabled, this specifies a spanbuilder which is used to create a span and push it onto the span stack; then the body is executed in the context of that span. Completes the span and pops it from the stack on exit.

When tracing is enabled, this specifies a spanbuilder which is used to create a span
and push it onto the span stack; then the body is executed in the context of that span.
Completes the span and pops it from the stack on exit.
sourceraw docstring

with-tracercljmacro

(with-tracer tracer & body)

When tracing is enabled, this binds the global tracer var to the supplied tracer and executes the body in that context.

When tracing is enabled, this binds the global tracer var to the supplied tracer and
executes the body in that context.
sourceraw docstring

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

× close