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

写文件日志 能像logcat里显示线程、哪个文件及代码行号吗 #61

Open
ywanhzy opened this issue Aug 3, 2019 · 1 comment

Comments

@ywanhzy
Copy link

ywanhzy commented Aug 3, 2019

No description provided.

@ywanhzy ywanhzy changed the title 写文件日志 能像logcat里显示线程、那个文件及代码行号吗 写文件日志 能像logcat里显示线程、哪个文件及代码行号吗 Aug 3, 2019
@pengwei1024
Copy link
Owner

java里面获取java文件名和行数就需要获取当前调用栈,每一句都调用一下还是挺影响性能的。如果你有需要可以自己重写一个日志写文件库哈

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

No branches or pull requests

2 participants