Home
last modified time | relevance | path

Searched refs:MDCContext (Results 1 – 6 of 6) sorted by relevance

/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/test/
DMDCContextTest.kt42 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>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/
DREADME.md7 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…
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/api/
Dkotlinx-coroutines-slf4j.api1 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…
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/src/
DMDCContext.kt42 public class MDCContext( class
52 public companion object Key : CoroutineContext.Key<MDCContext>
/external/kotlinx.coroutines/
DREADME.md61 * SLF4J MDC integration via [MDCContext].
259 [MDCContext]: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-slf4j/kotlinx.corout…
DCHANGES_UP_TO_1.7.md1040 …* SLF4J Mapped Diagnostic Context (MDC) integration is provided via `MDCContext` element defined i…