APISonar


rxhttp.wrapper.utils.LogUtil.log

> rxhttp > wrapper > utils > LogUtil > log
rxhttp APIs wrapper APIs utils APIs LogUtil APIs log APIs

Example 1
public Bitmap onParse(Response response) throws IOException {
        ResponseBody body = ExceptionHelper.throwIfFatal(response);
        LogUtil.log(response, false, null);
        return BitmapFactory.decodeStream(body.byteStream());
    }
Example 2
static Call newCall(OkHttpClient client, Param param) throws IOException {
        param = RxHttpPlugins.onParamAssembly(param);
        if (param instanceof IUploadLengthLimit) {
            ((IUploadLengthLimit) param).checkLength();
        }
        Request request = param.buildRequest();
        LogUtil.log(request);
        return client.newCall(request);
    }