(add-reporter k f)
Add assert error exporter. k
is a keyword, f
is a function that will be
called with an assert error, a map of
{:title :message :hiccup :fname :alias :data}
.
Add assert error exporter. `k` is a keyword, `f` is a function that will be called with an assert error, a map of `{:title :message :hiccup :fname :alias :data}`.
(remove-reporter k)
Remove a previoulsy added reporter, using the same k
that was used to
register it. To remove the default reporter, use :replicant.assert/default
as k
.
Remove a previoulsy added reporter, using the same `k` that was used to register it. To remove the default reporter, use `:replicant.assert/default` as `k`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close