
上QQ阅读APP看书,第一时间看更新
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.