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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |