clara.tools.tracing

Support for tracing state changes in a Clara session.

get-trace

(get-trace session)

Returns the trace from the given session.

is-tracing?

(is-tracing? session)

Returns true if the given session has tracing enabled, false otherwise.

tracing-listener

(tracing-listener)

Creates a persistent tracing event listener

with-tracing

(with-tracing session)

Returns a new session identical to the given one, but with tracing enabled. The given session is returned unmodified if tracing is already enabled.

without-tracing

(without-tracing session)

Returns a new session identical to the given one, but with tracing disabled The given session is returned unmodified if tracing is already disabled.