Package io.ktor.server.logging

Types

Link copied to clipboard
interface MDCProvider

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

Functions

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

Generates a string representing this ApplicationRequest suitable for logging

Properties

Link copied to clipboard
val Application.mdcProvider: MDCProvider

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