- Expert Android Programming
- Prajyot Mainkar
- 124字
- 2021-07-08 10:29:07
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.
推薦閱讀
- C語言程序設計實踐教程(第2版)
- Modular Programming with Python
- Oracle從新手到高手
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- Practical Internet of Things Security
- Instant QlikView 11 Application Development
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- Raspberry Pi Home Automation with Arduino(Second Edition)
- 深入分布式緩存:從原理到實踐
- Python語言實用教程
- Mastering jQuery Mobile
- Modernizing Legacy Applications in PHP
- PHP項目開發全程實錄(第4版)
- 征服C指針(第2版)
- Java程序設計入門(第2版)