withLogContext

suspend fun <R> withLogContext(vararg items: Pair<String, Any?>, block: suspend CoroutineScope.() -> R): R

Utility function that stores items into a LogContext in the current coroutine scope.