Giter Club home page Giter Club logo

Comments (2)

Power-Android avatar Power-Android commented on June 30, 2024

可以参考下OkGo的打印日志,很详细,类似于这种:
E/POWER: --> POST https://.................... http/1.1 E/POWER: Content-Type: application/x-www-form-urlencoded E/POWER: Content-Length: 35 E/POWER: passid: z7gcawmtu4g1blzgnzftns5435638tdl E/POWER: sign: BD6C85FC311A437E6EFC08D1D516537D E/POWER: timestamp: 1576831956 E/POWER: E/POWER: body:article_id=932&timestamp=1576831956 E/POWER: --> END POST E/POWER: <-- 200 OK https://.................../getIndexPic (5430ms) E/POWER: Date: Fri, 20 Dec 2019 08:52:37 GMT E/POWER: Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips E/POWER: Access-Control-Allow-Origin: http://172.10.10.253:8099 E/POWER: Access-Control-Allow-Method: POST,GET E/POWER: Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE E/POWER: Access-Control-Allow-Headers: x-requested-with,content-type E/POWER: Vary: Accept-Encoding E/POWER: Keep-Alive: timeout=5, max=100 E/POWER: Connection: Keep-Alive E/POWER: Content-Type: text/html; charset=utf-8 E/POWER: Cache-Control: public, max-age=60 E/POWER: E/POWER: body:{.....}

from rxhttp.

liujingxing avatar liujingxing commented on June 30, 2024

image
这是目前RxHttp日志打印结构,对比okgo,不是很明白你是觉得打印信息少了什么?还是说格式不太习惯。另外,对于Verbose信息过多,我个人的习惯是过滤 RxHttp,这样日志就一目了然,当然,对于暴露设置打印级别的方法,后续版本会考虑,感谢提出。

from rxhttp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.