Comments (2)
可以参考下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×tamp=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.
这是目前RxHttp日志打印结构,对比okgo,不是很明白你是觉得打印信息少了什么?还是说格式不太习惯。另外,对于Verbose信息过多,我个人的习惯是过滤 RxHttp
,这样日志就一目了然,当然,对于暴露设置打印级别的方法,后续版本会考虑,感谢提出。
from rxhttp.
Related Issues (20)
- The variable 'DEV_URL' must be String HOT 5
- 用Java自定义解析器,wrappers参数传入`List.class`,ksp编译后BaseRxHttp类报错 HOT 1
- JSON日志显示问题 HOT 2
- toDownloadFlow点击Cannot find declaration to go to HOT 5
- rxhttp最低支持的gradle和kotlin版本是多少 HOT 6
- java.lang.NoSuchFieldError: No field Companion of type HOT 10
- 自动刷新问题 HOT 1
- Cannot resolve symbol 'RxHttp' HOT 9
- 下载文件可能会超时,怎么解决? HOT 2
- 打印日志添加缓存信息 HOT 1
- 有时候后台会返回一些意想不到的json HOT 11
- 编译报错了 HOT 5
- 关于后端接口数据返回null,但是接口成功自定义Parser的问题 HOT 5
- RxHttp 生成在 AndroidTest 目录 HOT 3
- ksp编译,未使用任何注解,随意更改子module中的代码,运行项目,编译报错,提示找不到RxHttp类 HOT 1
- 服务器返回数据特殊处理 HOT 6
- 打印日志是有长度限制吧?请求参数过长日志打印不全,建议提供方法设置可控制 HOT 2
- 不能直接得到Response吗 HOT 3
- java.lang.NullPointerException: <get-cache>(...) must not be null 这种一般是什么问题呀,不是必现,偶尔出现就会闪退。 HOT 3
- 自定义parser生成失败 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxhttp.