(assoc-log-context interceptor-context log-context)
add the log context into the top-level of the interceptor-context and into the coeffects - so both the interceptor-context and the coeffects can be used as a log-context-src in the a-frame.log logging macros
add the log context into the top-level of the interceptor-context and into the coeffects - so both the interceptor-context and the coeffects can be used as a log-context-src in the a-frame.log logging macros
an interceptor to extract coeffects. must be at the head of the chain, because this breaks the interceptor-context
an interceptor to extract coeffects. must be at the head of the chain, because this breaks the interceptor-context
(modify-interceptors-for-coeffects n interceptors)
an interceptor modifier which
an interceptor modifier which - removes n (default 1) interceptors completely from the and of the chain - removes all :leave and :error fns from the remaining interceptors - inserts a new interceptor at the beginning of the chain which extracts coeffects from the context
a proxy interceptor which removes ::leave and ::error handlers from the proxied interceptor
to do this the proxy interceptor defines only an ::enter fn and accepts an InterceptorSpec for the proxied interceptor as enter-data
a proxy interceptor which removes ::leave and ::error handlers from the proxied interceptor to do this the proxy interceptor defines only an ::enter fn and accepts an InterceptorSpec for the proxied interceptor as enter-data
(set-log-context log-context-data-spec)
set a log-context based on the provided data-spec
e.g.
{:request-id #cofx-path [:yapster.api :request-id]}
will cause "[request-id:<request-id>]" sections to be logged in a-frame error reports
set a log-context based on the provided data-spec e.g. {:request-id #cofx-path [:yapster.api :request-id]} will cause "[request-id:<request-id>]" sections to be logged in a-frame error reports
set a log context - either with data, or if no data is provided then {:id <uuid>} will be used
set a log context - either with data, or if no data is provided then {:id <uuid>} will be used
an interceptor which logs a useful report for an error
an interceptor which logs a useful report for an error
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close