NullPointerException
when setting nil
logging context1.7.22
cambium.core/merge-logging-context!
overridable (likely with a nesting-aware version)cambium.core/context-val
overridable (likely with a nesting-aware version)cambium.core
API from cambium.nested
namespacecambium.nested
namespacenil
MDC attribute value as a deletion request; remove from MDC while mergingdeflogger
to the cambium.nested
namespace with nested MDC supportcambium.core
to cambium.nested
cambium.core/merge-nested-context!
(moved to cambium.nested/merge-logging-context!
)cambium.core/with-nested-context
(moved to cambium.nested/with-logging-context
)cambium.core/context-val
no more treats a collection as a nested pathcambium.nested
namespace
merge-logging-context!
with-logging-context
wrap-logging-context
context-val
log
, trace
, debug
, info
, warn
, error
, fatal
cambium.core/context-val
support both top-level keys and key path for nested structurescambium.core/merge-nested-context!
to merge 'potentially nested' context map into current MDCcambium.core/with-nested-context
to evaluate body of code with 'potentially nested' MDCcambium.core/wrap-nested-context
to wrap a function with 'potentially nested' MDCcambium.core/set-logging-context!
to cambium.core/merge-logging-context!
1.7.21
cambium.core/get-context
to deserialize MDC values before returningcambium.core/destringify-val
(can be redefined)cambium.core/destringify-val
when obtaining context valuescambium.core/stringify-key
to convert MDC key to string (can be redefined)cambium.core/stringify-val
even when Clojure 1.8+ direct-linking is enabled1.7.18
cambium.core/stringify-val
(can be updated to suit needs)cambium.core/encode-val
and cambium.core/decode-val
to handle type-safe encoding1.7.13
trace
, debug
, info
, warn
, error
, fatal
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close