搜索

首页  >  问答  >  正文

Android开发,错误输出日志,e.printstacktrace()和log.e() 哪个好?

RTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

PHP中文网PHP中文网2743 天前631

全部回复(1)我来回复

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 13:32:49

    使用自己的日志管理系统,将这些log上传到后台。e.printStackTrace()除了调试阶段看看错误栈,上线后没啥意义。

    回复
    0
  • 取消回复