Package-level declarations

Types

Link copied to clipboard
interface Logger

HttpClient Logger.

Link copied to clipboard

A configuration for the Logging plugin.

Link copied to clipboard

Logging log level.

Link copied to clipboard
class MessageLengthLimitingLogger(maxLength: Int = 4000, minLength: Int = 3000, delegate: Logger = Logger.DEFAULT) : Logger

A Logger that breaks up log messages into multiple logs no longer than maxLength

Properties

Link copied to clipboard

Android Logger: Logs to the Logcat on Android if the SLF4J provider isn't found. Otherwise, uses the Logger.Companion.DEFAULT. Breaks up long log messages that would be truncated by Android's max log length of 4068 characters.

Link copied to clipboard

Default logger to use.

Link copied to clipboard

Empty Logger for test purpose.

Link copied to clipboard

A client's plugin that provides the capability to log HTTP calls.

Link copied to clipboard

Functions

Link copied to clipboard
fun HttpClientConfig<*>.Logging(block: LoggingConfig.() -> Unit = {})

Configures and installs Logging in HttpClient.