Flutter在“运行"选项卡中禁用系统调试消息 [英] Flutter disable system debug messages in Run Tab
问题描述
我用:
print('Pls. show this line only');
调试由Android Studio开发的flutter应用程序.但是,[运行选项卡]中的输出通常类似于:
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 Project的运行"选项卡中禁用[数十个/数百个系统调试消息]?
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 IDE或Android Studio出现
Select the option as shown in case IntelliJ IDEs or Android Studio
现在您可以进行以下过滤
Now you can filter as follows
这篇关于Flutter在“运行"选项卡中禁用系统调试消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!