okhttpclient打印網絡請求的完整log日誌

1. OkhttpClient添加攔截器 設置logging信息打印日誌json private HttpLoggingInterceptor logging = new HttpLoggingInterceptor(message -> Timber.e("okhttp response json = %s", message)); private OkHttpClient getC
相關文章
相關標籤/搜索