码迷,mamicode.com
首页 > 其他好文 > 详细

logcat

时间:2014-09-27 23:11:40      阅读:291      评论:0      收藏:0      [点我收藏+]

标签:des   android   style   blog   http   color   io   使用   ar   

logcat

  The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions of the system are collected in a series of circular buffers, which then can be viewed and filtered by the logcat command. You can use logcat from an ADB shell to view the log messages.

   Logcat dumps a log of system messages, which include things such as stack traces when the emulator throws an error and messages that you have written from your application by using the Log class. 

The Log Class

  Log is a logging class that you can utilize in your code to print out messages to the LogCat. Common logging methods include:

  bubuko.com,布布扣

  Log优先级:

  bubuko.com,布布扣  

logcat的使用

  bubuko.com,布布扣

  bubuko.com,布布扣

  If you‘re running LogCat from your development computer,可以设置默认的filter:

  bubuko.com,布布扣

  

参考:

1、http://developer.android.com/tools/debugging/debugging-log.html

2、http://developer.android.com/tools/help/logcat.html

 

logcat

标签:des   android   style   blog   http   color   io   使用   ar   

原文地址:http://www.cnblogs.com/tekkaman/p/3997149.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!