문제

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