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

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.

主站蜘蛛池模板: 临汾市| 青海省| 封开县| 牟定县| 岐山县| 通渭县| 隆化县| 双桥区| 庆元县| 肥乡县| 嘉鱼县| 通道| 永昌县| 旬阳县| 辉县市| 林芝县| 丹东市| 新安县| 九寨沟县| 临沭县| 裕民县| 万全县| 苏州市| 常州市| 衢州市| 安义县| 汶上县| 信宜市| 宣武区| 施秉县| 筠连县| 城固县| 永和县| 体育| 玛曲县| 沈丘县| 巴彦淖尔市| 邹城市| 邳州市| 浮山县| 甘洛县|