调整 HttpLogging 等级到 BASIC

This commit is contained in:
czp 2018-02-01 09:48:18 +08:00
parent 8b79cff89e
commit f9cc591eee

View File

@ -67,7 +67,7 @@ public class BilibiliAPI implements BilibiliServiceProvider, LiveClientProvider
.addInterceptor(new AddAppKeyInterceptor(bilibiliClientProperties))
.addInterceptor(new SortParamsAndSignInterceptor(bilibiliClientProperties))
.addInterceptor(new ErrorResponseConverterInterceptor())
.addNetworkInterceptor(new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY))
.addNetworkInterceptor(new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BASIC))
.build();
passportService = new Retrofit.Builder()
@ -108,7 +108,7 @@ public class BilibiliAPI implements BilibiliServiceProvider, LiveClientProvider
.addInterceptor(new AddAppKeyInterceptor(bilibiliClientProperties))
.addInterceptor(new SortParamsAndSignInterceptor(bilibiliClientProperties))
.addInterceptor(new ErrorResponseConverterInterceptor())
.addNetworkInterceptor(new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY))
.addNetworkInterceptor(new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BASIC))
.build();
liveService = new Retrofit.Builder()