[英]Android Logback - Store stack trace to the log file on application crash
I am using LogBack for Android to log into a file on the public external storage of the device. 我正在使用LogBack for Android登录到设备的公共外部存储上的文件。
When my application crashes, I want the log file to contain the Exception and the stack trace. 当我的应用程序崩溃时,我希望日志文件包含Exception和堆栈跟踪。
How do I configure this? 我该如何配置?
Thank you. 谢谢。
看看下面的线程,我认为这正是您需要的: 需要处理未捕获的异常并发送日志文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.