MDC logging context utility.
MDC logging context utility.
(put-closeable k v)
Puts a diagnostic context value v
as identified with the key k
into the
current thread's diagnostic context map. Returns a Closeable
object who can
remove key when close is called. The string k
cannot be null. The v
should
be string or null. If the v
is null then nothing is put and noop Closeable
returned.
Puts a diagnostic context value `v` as identified with the key `k` into the current thread's diagnostic context map. Returns a `Closeable` object who can remove key when close is called. The string `k` cannot be null. The `v` should be string or null. If the `v` is null then nothing is put and noop `Closeable` returned.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close