How does Log.wtf() differ from Log.e()?

前端 未结 7 603
臣服心动
臣服心动 2020-12-13 12:18

I have looked at the documentation for android.util.Log and I\'m not sure exactly what the difference between Log.e() and Log.wtf() is. Is one pref

7条回答
  •  不思量自难忘°
    2020-12-13 12:23

    As with the other logging types, I understand it to be just another label type for log messages. log.i is for information about where something is occuring. log.e is for errors that could happen. log.wtf is for errors that never happen. I think it is just a convienience so you don't have something like Log("ERROR:", "an error") and Log("INFO: ", "information")

提交回复
热议问题