سؤال

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