MDCContext

fun MDCContext(contextMap: MDCContextMap = MDC.getCopyOfContextMap())

Parameters

contextMap

the value of MDC context map. Default value is the copy of the current thread's context map that is acquired via MDC.getCopyOfContextMap.