Tracing copied from re-frame.
Tracing copied from re-frame.
(is-trace-enabled?)
See https://groups.google.com/d/msg/clojurescript/jk43kmYiMhA/IHglVr_TPdgJ for more details
See https://groups.google.com/d/msg/clojurescript/jk43kmYiMhA/IHglVr_TPdgJ for more details
(register-trace-cb key f)
Registers a tracing callback function which will receive a collection of one or more traces. Will replace an existing callback function if it shares the same key.
Registers a tracing callback function which will receive a collection of one or more traces. Will replace an existing callback function if it shares the same key.
(with-trace {:keys [operation op-type tags child-of] :as trace-opts} & body)
Create a trace inside the scope of the with-trace macro
Common keys for trace-opts :op-type - what kind of operation is this? e.g. :sub/create, :render. :operation - identifier for the operation, for a subscription it would be the subscription keyword :tags - a map of arbitrary kv pairs
Create a trace inside the scope of the with-trace macro Common keys for trace-opts :op-type - what kind of operation is this? e.g. :sub/create, :render. :operation - identifier for the operation, for a subscription it would be the subscription keyword :tags - a map of arbitrary kv pairs
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close