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

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.

Constructors

<init>

OkHttpLoggerModule(httpLogger: HttpLogger)

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.

Functions

onCreateView

fun onCreateView(parent: ViewGroup): View