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

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.

主站蜘蛛池模板: 彝良县| 南召县| 迁安市| 科尔| 牡丹江市| 辰溪县| 永新县| 井冈山市| 定远县| 太原市| 滦南县| 汝阳县| 濉溪县| 利辛县| 迁安市| 广元市| 太康县| 延津县| 乐平市| 鹤峰县| 卢龙县| 鹤峰县| 精河县| 石门县| 朝阳区| 班戈县| 滕州市| 青海省| 应城市| 铁岭市| 信丰县| 富裕县| 丹巴县| 林甸县| 林西县| 宾川县| 建宁县| 忻城县| 扬州市| 临沧市| 京山县|