- 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.
推薦閱讀
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- DevOps for Networking
- C語言程序設(shè)計(jì)教程(第2版)
- FreeSWITCH 1.6 Cookbook
- Full-Stack React Projects
- Jenkins Continuous Integration Cookbook(Second Edition)
- 跟戴銘學(xué)iOS編程:理順核心知識(shí)點(diǎn)
- Mudbox 2013 Cookbook
- Clojure Polymorphism
- ROS機(jī)器人編程實(shí)戰(zhàn)
- Java EE實(shí)用教程
- Analytics for the Internet of Things(IoT)
- C語言解惑:指針、數(shù)組、函數(shù)和多文件編程
- Storm Real-Time Processing Cookbook
- NIO與Socket編程技術(shù)指南