简体   繁体   English

Logcat连续记录在设备上

[英]Logcat logs continuously on device

Yesterday, logCat suddenly started to log numerous device-events, once the device is connected. 昨天,一旦连接了设备,logCat突然开始记录大量设备事件。 Before, it just logged whatever I logged for debugging purposes in my app. 之前,它只是记录了我为调试目的在应用程序中记录的所有内容。 Does anybody know, what I did to enable this behavior? 有人知道,我为实现这种行为做了什么? And how to disable it again? 以及如何再次禁用它?

You can set-up logcat "fliters" to filter out messages only from your application. 您可以设置logcat“ fliters”以仅过滤来自应用程序的消息。 You can set filters based on tags, pid, etc.. 您可以根据标签,PID等设置过滤器。

Use this link for more info as to how to setup logcat filters: filtering logcat output 使用此链接可获取有关如何设置logcat过滤器的更多信息: 过滤logcat输出

You must have changed the filter of your LogCat to verbose . 您必须将LogCat的过滤器更改为verbose

You can change the filter of the messages to be displayed on the LogCat by selecting the drop down list on the top right hand corner of your LogCat window. 您可以通过选择LogCat窗口右上角的下拉列表来更改要在LogCat上显示的消息的过滤器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM