I would like to know if it is possible to use the Log family of functions to include extra information in crash reports. There are many Log versions, Log.e, Log.d, Log.v, Log.i, Log.w, but I cannot find much difference between them.

Would using any of these functions cause the message to be added to a user-submitted crash report similar to the way that in the Logcat messages are listed in chronological order so Log statements can print information to logcat just before a crash?

有帮助吗?

解决方案

e, d, v, i, w is mean "Error", "Debug", "Verbose", "Info", "Warn" is error level.
So you can choose level correctly, print log. almost crash is displayed "Fatal" level.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top