android - Log.wtf()跟Log.e() 这两个函数有什么区别

查看:306
本文介绍了android - Log.wtf()跟Log.e() 这两个函数有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

试了一下好像打印的东西都是一样的

解决方案

恩。。wtf的意思是what a terrible failure
可怕的失败:报告一个永远不可能发生的情况。

然后这是官方原文:

What a Terrible Failure: Report a condition that should never happen. The error will always be logged at level ASSERT with the call stack. Depending on system configuration, a report may be added to the DropBoxManager and/or the process may be terminated immediately with an error dialog.

大概是用来打印正常情况下永远不会发生bug?

ps:不是what the fuck哈_(:з」∠)_

这篇关于android - Log.wtf()跟Log.e() 这两个函数有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆