KhronicleKtorClientLogger

class KhronicleKtorClientLogger(level: LogLevel = Verbose, writeMetadata: (WriteMetadata) -> Unit = {}) : Logger

A logger for use with a Ktor HttpClient.

HttpClient {
install(Logging) {
logger = KhronicleKtorClientLogger()
}
}

Constructors

Link copied to clipboard
constructor(level: LogLevel = Verbose, writeMetadata: (WriteMetadata) -> Unit = {})

Functions

Link copied to clipboard
open override fun log(message: String)