debugdrawer-okhttp-logger / au.com.gridstone.debugdrawer

Package au.com.gridstone.debugdrawer

Types

HttpLogger

class HttpLogger

A wrapper around an OkHttp logging interceptor that pipes logs out to Timber. The log level is dictated by OkHttpLoggerModule in the debug drawer.

OkHttpLoggerModule

class OkHttpLoggerModule : DebugDrawerModule

A debug drawer module that can configure the level of logging that should be intercepted by OkHttp and piped out to Timber. In order for this module to work the HttpLogger passed in to this module must also be added as an interceptor to your OkHttpClient.