Android Studio“全部清除";在log cat中,更改日志级别过滤器时日志仍会返回 [英] Android studio "Clear All" in log cat, logs still come back when changing log level filter

查看:510
本文介绍了Android Studio“全部清除";在log cat中,更改日志级别过滤器时日志仍会返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在LogCat中,当我单击全部清除"按钮时,它似乎将清除所有日志.但是,如果我更改日志级别并返回到先前的日志级别,则所有日志都已返回.

In LogCat, when I click the "clear all" button, it appears to clear all of the logs. However, if I change the log level, and come back to the previous log level, all of the logs have returned.

例如,我正在查看详细".我选择全部清除".日志清除.我切换到调试".我切换回详细",现在所有我认为已清除的详细日志现在又回来了.因为我打开Android Studio中它显示一切.

For example, I'm looking at "Verbose". I choose "Clear all". The log clears. I switch over to "Debug". I switch back to "Verbose", now all of the Verbose logs that I thought I cleared, have now come back. It displays everything since I opened Android Studio.

此外,如果我清除所有内容,然后重新启动我的应用程序,则会发生相同的问题;我得到充斥着旧的调试信息看到任何新的之前.

Additionally, the same issue occurs if I clear all, and then re-launch my app; I get flooded with old debug messages before seeing any new ones.

有什么方法可以永久删除日志,而不必重新启动Android Studio?

推荐答案

以下屏幕截图来自Android Studio 1.1 Beta 4.

The following screenshot is from Android Studio 1.1 Beta 4.

希望这会有所帮助.

这篇关于Android Studio“全部清除";在log cat中,更改日志级别过滤器时日志仍会返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆