有没有办法在Google Chrome浏览器的控制台中过滤输出? [英] Is there a way to filter output in Google Chrome's console?

查看:1455
本文介绍了有没有办法在Google Chrome浏览器的控制台中过滤输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在玩的第三方页面的输出中有很多杂音,我想知道是否有一种方法可以在控制台上过滤输出。类似于Logcat的标志。有没有办法做到?

I'm getting a lot of noise from the output of the 3rd party's page i'm currently playing with and i wonder if there's a way to filter the output on the console. Something like Logcat's flags. Is there a way to do that?

编辑

我找到了一种禁用导致输出的方法最大的噪音。我在控制台上单击鼠标右键,然后禁用了 XMLHttpRequest Logging 选项。不是我想要的,而是我需要的。

I found a way to disable the output that was causing the biggest ammount of noise. I clicked with the right-clicked on the console and then disabled the XMLHttpRequest Logging option. It's not what i wanted, but it's what i needed.

推荐答案

您可以使用正则表达式。

You can use regular expressions.

例如排除单词浏览器同步我使用 ^((?! browser-sync)。)* $

另请参见此处

Chrome 44.0.2403.125

Chrome 44.0.2403.125

这篇关于有没有办法在Google Chrome浏览器的控制台中过滤输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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