Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化 Debug 日志输出 #238

Merged
merged 2 commits into from
May 21, 2021
Merged

Conversation

kxlv2000
Copy link
Contributor

添加了IS_PRINT_REQUEST_STRING_LOG, IS_PRINT_REQUEST_ENDTIME_LOG两个全局变量,分别用于单独控制requestString endTime 的日志记录。另外将system.err.println()全部移至Log.java ,不知道是否符合您的需求?

@TommyLemon TommyLemon merged commit c5e7265 into Tencent:master May 21, 2021
@TommyLemon
Copy link
Collaborator

TommyLemon commented May 21, 2021

符合需求,一开始以为调用了原来的 Log.d ,这个会导致 Log.DEBUG = false 时不打印,后面仔细看是调用了你新增的 Log.fd。感谢再次贡献~

@kxlv2000
Copy link
Contributor Author

收到!感谢回复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants