Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top