浏览代码

[fix]fix log

pala 2 年之前
父节点
当前提交
e7686f3ecf
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      network/src/main/java/com/atmob/network/okhttp/AtmobOkHttpClient.java

+ 3 - 1
network/src/main/java/com/atmob/network/okhttp/AtmobOkHttpClient.java

@@ -81,7 +81,9 @@ public class AtmobOkHttpClient {
     public static HttpLoggingInterceptor newLoggingInterceptor(String TAG, boolean loggable) {
         return new HttpLoggingInterceptor.Builder()
                 .loggable(loggable)
-                .tag(TAG)
+//                .tag(TAG)
+                .request(TAG)
+                .response(TAG)
                 .setLevel(Level.BODY)
                 .build();
     }