我怎样才能看到长文/味精logcat的? [英] How can I see long texts/msg in logcat?

查看:121
本文介绍了我怎样才能看到长文/味精logcat的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我们使用的logcat作为Android的控制台。 在有些情况下,当输出文本/ msg是有点大,我无法看到完整的输出。 日志猫显示只起始部分。 有没有办法将其展开,这样我可以看到完整的味精?

Since we are using logcat as a console for android. There are cases when the the output text/msg is kinda big and I can't see the complete output. The log cat shows only the starting part of it. Is there a way to expand it so that I can see the full msg?

推荐答案

如果你想写长消息看到的logcat 它可能是值得各地编写您自己的包装在 android.util.Log 方法,它们将您的长消息多行。

If you want to write long messages to see in logcat it may be worth writing your own wrapper around the android.util.Log methods which splits your long message over multiple lines.

这篇关于我怎样才能看到长文/味精logcat的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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