update
This commit is contained in:
@@ -62,7 +62,7 @@ public class Api extends BaseApi {
|
||||
// if (Config.IS_DEBUG) {
|
||||
HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor(message -> {
|
||||
String text = message;
|
||||
LogUtils.i("LAILIAOLIAO","LAILIAOLIAO:"+text);
|
||||
LogUtils.d("LAILIAOLIAO","LAILIAOLIAO:"+text); //只有debug才打印
|
||||
});
|
||||
interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
|
||||
builder.addInterceptor(interceptor);
|
||||
|
||||
Reference in New Issue
Block a user