NetworkModule: hide different logging levels under comments to not look every time in documentation
This commit is contained in:
parent
4141030d2e
commit
0c393585bd
|
@ -59,7 +59,11 @@ class NetworkModule {
|
|||
.apply {
|
||||
addInterceptor(InstanceSwitchAuthInterceptor(accountManager))
|
||||
if (BuildConfig.DEBUG) {
|
||||
addInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BASIC })
|
||||
addInterceptor(HttpLoggingInterceptor().apply {
|
||||
level = HttpLoggingInterceptor.Level.BASIC
|
||||
//level = HttpLoggingInterceptor.Level.HEADERS
|
||||
//level = HttpLoggingInterceptor.Level.BODY
|
||||
})
|
||||
}
|
||||
}
|
||||
.build()
|
||||
|
|
Loading…
Reference in New Issue