Package io.ktor.server.logging


Link copied to clipboard
interface MDCProvider

Base interface for plugins that can setup MDC. See CallLogging plugin.


Link copied to clipboard
fun ApplicationRequest.toLogString(): String

Generates a string representing this ApplicationRequest suitable for logging


Link copied to clipboard
val Application.mdcProvider: MDCProvider

Returns first instance of a plugin that implements MDCProvider or default implementation with an empty context