Searched refs:MDCContext (Results 1 – 6 of 6) sorted by relevance
42 launch(MDCContext()) { in <lambda>()54 withContext(MDCContext()) { in <lambda>()79 runBlocking(MDCContext()) { in testContextCanBePassedWhileOnMainThread()87 runBlocking(MDCContext()) { in testContextNeededWithOtherContext()94 runBlocking(MDCContext()) { in testContextMayBeEmpty()103 withContext(Dispatchers.Default + MDCContext()) { in <lambda>()105 assertEquals("myValue", coroutineContext[MDCContext]?.contextMap?.get("myKey")) in <lambda>()
7 Add [MDCContext] to the coroutine context so that the SLF4J MDC context is captured and passed into…12 launch(MDCContext()) {24 [MDCContext]: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-slf4j/kotlinx.corout…
1 public final class kotlinx/coroutines/slf4j/MDCContext : kotlin/coroutines/AbstractCoroutineContext…2 public static final field Key Lkotlinx/coroutines/slf4j/MDCContext$Key;13 public final class kotlinx/coroutines/slf4j/MDCContext$Key : kotlin/coroutines/CoroutineContext$Key…
42 public class MDCContext( class52 public companion object Key : CoroutineContext.Key<MDCContext>
61 * SLF4J MDC integration via [MDCContext].259 [MDCContext]: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-slf4j/kotlinx.corout…
1040 …* SLF4J Mapped Diagnostic Context (MDC) integration is provided via `MDCContext` element defined i…