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

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.

主站蜘蛛池模板: 平邑县| 彭山县| SHOW| 崇信县| 延庆县| 金秀| 娱乐| 兴城市| 扬中市| 开封县| 象山县| 高碑店市| 平谷区| 厦门市| 宿松县| 景东| 龙井市| 和林格尔县| 安福县| 二连浩特市| 长岭县| 达州市| 乐平市| 天峻县| 永德县| 逊克县| 玉溪市| 登封市| 阿克苏市| 洛扎县| 句容市| 澎湖县| 黄梅县| 屯门区| 陆川县| 克拉玛依市| 鹤岗市| 舞钢市| 金门县| 富源县| 双牌县|