We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System.out使用PrintStream, 会有synchronized锁,对性能可能有比较大的影响。即使不想添加其他依赖使用第三方的日志,也可以使用jdk自带的日志框架,java.util.logging。
The text was updated successfully, but these errors were encountered:
感谢反馈和建议,华为工程师提过类似问题,可以看看解答,上线前 Log.DEBUG = false,绝大部分日志都不会打印,对性能影响可以忽略不计。 #208
考虑 java.util.logging 替代目前的实现,可以在建议收集箱加个评论 #37
Sorry, something went wrong.
No branches or pull requests
System.out使用PrintStream, 会有synchronized锁,对性能可能有比较大的影响。即使不想添加其他依赖使用第三方的日志,也可以使用jdk自带的日志框架,java.util.logging。
The text was updated successfully, but these errors were encountered: