Liking cljdoc? Tell your friends :D

orchard.trace

Faster and prettier reimplementation of clojure.tools.trace with unnecessary parts removed. Used for tracing function invocations and their results.

Faster and prettier reimplementation of `clojure.tools.trace` with unnecessary
parts removed. Used for tracing function invocations and their results.
raw docstring

trace-ns*clj

(trace-ns* ns)

Trace all Vars in the given namespace. Can be undone with untrace-ns*. ns should be a namespace object or a symbol.

No-op for clojure.core and orchard.trace.

Trace all Vars in the given namespace. Can be undone with `untrace-ns*`. `ns`
should be a namespace object or a symbol.

No-op for clojure.core and orchard.trace.
sourceraw docstring

trace-var*clj

(trace-var* v)

If the specified Var holds an IFn and is not marked as a macro, its contents is replaced with a version wrapped in a tracing call; otherwise nothing happens. Can be undone with untrace-var*.

If the specified Var holds an IFn and is not marked as a macro, its
contents is replaced with a version wrapped in a tracing call;
otherwise nothing happens. Can be undone with `untrace-var*`.
sourceraw docstring

traceable?clj

(traceable? v)

Return true if the given var can be traced.

Return true if the given var can be traced.
sourceraw docstring

traced?clj

(traced? v)

Return true if the given var is currently traced.

Return true if the given var is currently traced.
sourceraw docstring

untrace-allclj

(untrace-all)

Reverses the effect of tracing for all already traced vars and namespaces.

Reverses the effect of tracing for all already traced vars and namespaces.
sourceraw docstring

untrace-ns*clj

(untrace-ns* ns)

Untrace all Vars in the given namespace.

Untrace all Vars in the given namespace.
sourceraw docstring

untrace-var*clj

(untrace-var* v)

Reverses the effect of trace-var* for the given Var, replacing the traced function with the original, untraced version. No-op for non-traced Vars.

Reverses the effect of `trace-var*` for the given Var, replacing the traced
function with the original, untraced version. No-op for non-traced Vars.
sourceraw docstring

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

× close