5

Android Log的那些坑…………

 3 years ago
source link: https://blog.bihe0832.com/android_Log.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Android Log的那些坑…………

「 终端开发 」 ——  2014年07月11日

AndroidLog


测试android log中遇到的一些边界值

  • TAG 为空,正常打印
  • TAG 长度超过89以后,TAG会被截断,但是会在MSG中打印LOG的完整信息
  • MSG 为空,不打印该log * MSG 长度超过65535以后,LOG内容会被截断

Demo地址:


PS:对于Log的详细描述,可以参考下面的博客:http://blog.csdn.net/thl789/article/details/6629905




About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK