HttpLogger

class HttpLogger(configuration: HttpLogger.Configuration, @WorkerThread() log: (String) -> Unit)

Logger for the network communication between the engine and the remote server

Constructors

HttpLogger
Link copied to clipboard
fun HttpLogger(configuration: HttpLogger.Configuration, @WorkerThread() log: (String) -> Unit)

Types

Companion
Link copied to clipboard
object Companion
Configuration
Link copied to clipboard
data class Configuration(level: HttpLogger.Level, headersToIgnore: List<String>?)
Level
Link copied to clipboard
enum Level : Enum<HttpLogger.Level>
Different levels to specify the content to be logged.

Properties

configuration
Link copied to clipboard
val configuration: HttpLogger.Configuration
log
Link copied to clipboard
val log: (String) -> Unit

Sources

androidJvm source
Link copied to clipboard