(preserving-mdc & body)
Execute body of code such that the MDC found at the start of execution is restored at the end of execution.
Execute body of code such that the MDC found at the start of execution is restored at the end of execution.
(with-raw-mdc mdc & body)
Given raw MDC map with string key/value pairs (which need no transformation), execute the body of code in the specified logging context. Faster than cambium.core/with-logging-context but replaces entire context at once instead of individual key/value pairs. See also: http://logback.qos.ch/manual/mdc.html
Given raw MDC map with string key/value pairs (which need no transformation), execute the body of code in the specified logging context. Faster than cambium.core/with-logging-context but replaces entire context at once instead of individual key/value pairs. See also: http://logback.qos.ch/manual/mdc.html
(wrap-raw-mdc f)
(wrap-raw-mdc mdc f)
Wrap function f such that it is executed with the specified MDC. When no MDC is specified, the MDC at the time of wrapping is used. The MDC is considered raw, i.e. is not converted to string key/value pairs. Faster than cambium.core/wrap-logging-context but replaces entire context at once instead of individual key/value pairs. See also: http://logback.qos.ch/manual/mdc.html
Wrap function f such that it is executed with the specified MDC. When no MDC is specified, the MDC at the time of wrapping is used. The MDC is considered raw, i.e. is not converted to string key/value pairs. Faster than cambium.core/wrap-logging-context but replaces entire context at once instead of individual key/value pairs. See also: http://logback.qos.ch/manual/mdc.html
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close