Liking cljdoc? Tell your friends :D

re-frame-tracer

This is a custom tracer for Clairvoyant

This tracer is designed to work well with cljs-devtools

Usage

Add (my private fork of) Clairvoyant to your project :dependencies.

Clojars Project

Add re-frame-tracer to your project :dependencies.

Clojars Project

Add the following to your requires clause

[clairvoyant.core :refer-macros [trace-forms]]
[re-frame-tracer.core :refer [tracer]]

If you want to wrap your code in a green colour

(trace-forms {:tracer (tracer :color "green")}
;; your code here
)

Enable tracing

Our Clairvoyant fork does not look at :elide-assert for toggling tracing.

Instead, a Google define called clairvoyant.core.devmode is employed. The define defaults to false and in order to enable it just add :closure-defines {"clairvoyant.core.devmode" true} to your compiler options.

Can you improve this documentation?Edit on GitHub

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

× close