Logcat:Android 平台上的日志查看工具/命令,用于读取并过滤系统与应用的运行日志(常用于调试崩溃、性能问题与行为追踪)。也可指 Android Studio 中的 Logcat 日志窗口。
/ˈlɒɡ.kæt/
I checked Logcat to see why the app crashed.
我查看了 Logcat,看看应用为什么崩溃了。
After reproducing the bug, she filtered Logcat by the app’s package name and exported the error logs for the QA team.
在复现该缺陷后,她按应用的包名过滤 Logcat,并把错误日志导出给测试团队。
logcat 通常被理解为 log(日志)+ cat(源自 Unix 命令 cat,意为“连接并输出文件内容”)。在 Android 里,logcat 的含义就是把系统日志“输出/串流”到终端或工具窗口,便于开发者查看与筛选。