Flutter 在“运行"选项卡中禁用系统调试消息 [英] Flutter disable system debug messages in Run Tab
本文介绍了Flutter 在“运行"选项卡中禁用系统调试消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用的是:
print('Pls. show this line only');
调试我由 Android Studio 开发的 Flutter 应用程序.但是,[Run Tab] 中的输出通常类似于:
to debug my flutter apps developed by Android Studio. However, the output in the [Run Tab] is usually something like:
Tens/Hundreds of system debug messages
I/flutter ( 9154): Pls. show this line only
Tens/Hundreds of system debug messages
好的,有时我需要几分钟才能找到我自己的调试消息 [请.仅显示此行].
OK, sometimes it takes me minutes to find my own debug message [Pls. show this line only].
我的问题很简单,我们如何在 Android Studio 的 Flutter 项目的运行选项卡中禁用[数十/数百条系统调试消息]?
My question is simple, how can we disable [Tens/Hundreds of system debug messages] in the Run Tab of Flutter Project in Android Studio?
与此同时,我正在使用:
Meanwhile, I am using:
print('***************************************************** Pls. show this line only');
作为一种解决方法.
推荐答案
选择 IntelliJ IDEs 或 Android Studio 中所示的选项
Select the option as shown in case IntelliJ IDEs or Android Studio
现在可以进行如下过滤
这篇关于Flutter 在“运行"选项卡中禁用系统调试消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文