Logger

interface Logger

HttpClient Logger.

Functions

log

abstract fun log(message: String): Unit

Add message to log.

Companion Object Extension Properties

ANDROID

val Logger.Companion.ANDROID: Logger

Android Logger: breaks up long log messages that would be truncated by Android’s max log length of 4068 characters

DEFAULT

expect val Logger.Companion.DEFAULT: Logger

Default logger to use.

EMPTY

val Logger.Companion.EMPTY: Logger

Empty Logger for test purpose.

SIMPLE

val Logger.Companion.SIMPLE: Logger

Logger using println.

Inheritors

MessageLengthLimitingLogger

class MessageLengthLimitingLogger : Logger

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