Package-level declarations
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
withLogContext(ctx) { } carries a LogContext in the coroutine context via LogContextElement. Read it with currentLogContext(), or bind it to a logger with Logger.withActiveLogContext().
Types
A CoroutineContext.Element that carries a LogContext through a coroutine's lifetime.
A CoroutineContext.Element that carries a LogContext through a coroutine's lifetime.
A CoroutineContext.Element that carries a LogContext through a coroutine's lifetime.
A CoroutineContext.Element that carries a LogContext through a coroutine's lifetime.
Kotlin/Native implementation, shared by iOS, macOS, Linux, and MinGW.
A CoroutineContext.Element that carries a LogContext through a coroutine's lifetime.
Functions
The LogContext carried by the current coroutine, or an empty context if none is active.
Returns a Logger bound to the coroutine's active LogContext.
JS implementation.
Kotlin/Native implementation, shared by iOS, macOS, Linux, and MinGW.
Wasm/JS implementation.