Logging

class Logging(logger: Logger, level: LogLevel, filters: List<(HttpRequestBuilder) -> Boolean>)

HttpClient logging feature.

Constructors

Link copied to clipboard
fun Logging(logger: Logger, level: LogLevel)
Link copied to clipboard
fun Logging(logger: Logger, level: LogLevel, filters: List<(HttpRequestBuilder) -> Boolean> = emptyList())

Types

Link copied to clipboard
object Companion : HttpClientFeature<Logging.Config, Logging>
Link copied to clipboard
class Config

Logging feature configuration

Properties

Link copied to clipboard
var filters: List<(HttpRequestBuilder) -> Boolean>
Link copied to clipboard
var level: LogLevel
Link copied to clipboard
val logger: Logger