官术网_书友最值得收藏!

Logcat

Android Studio has a logcat tab inside Android Monitor that prints system events, such as when a garbage collection occurs, as well as messages your app prints with the Log class, to assist with debugging. Logcat displays messages in real time and also keeps a history so you can view older messages.

 

Tag and message are the string data-type.

You can search for messages in the logcat by;

  • Typing a character sequence in the search field
  • Optionally selecting Regex if you want to use a regular expression search pattern

The logcat will reflect the changes accordingly.

Also finer searches can be done by finding the text within the searched text by using the find option, clicking Ctrl + F on the keyboard.

主站蜘蛛池模板: 五大连池市| 普洱| 黔西| 金乡县| 长岭县| 武定县| 定州市| 沙坪坝区| 正定县| 徐州市| 临朐县| 远安县| 会昌县| 临高县| 中牟县| 余江县| 汝阳县| 定南县| 灵璧县| 鲁山县| 逊克县| 城口县| 梁山县| 沭阳县| 芷江| 马边| 沅江市| 瓦房店市| 襄垣县| 应城市| 容城县| 罗平县| 芜湖市| 丰台区| 隆尧县| 延长县| 凭祥市| 林西县| 秭归县| 德钦县| 健康|