在 Pycharm 中过滤记录器控制台输出的简单方法? [英] Easy Way To Filter Logger Console Output in Pycharm?

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

问题描述

我已经通过程序命名了我所有的记录器.我想要做的是能够通过 Pycharm 中的记录器名称过滤控制台日志输出.不编辑日志配置文件可以做到这一点吗?

I have named all my loggers through the program. What I would like to do is be be able to filter the console logging output by logger name(s) in Pycharm. Can this be done without editing the log configurations file?

推荐答案

您可以使用 Grep 控制台 插件.

此外,如果您希望在 PyCharm 中更好地支持 logging 标准模块,请投票支持 issue PY-8408 - 将日志模块集成到 PyCharm

Also, if you want better support for logging standard module in PyCharm then please vote for issue PY-8408 – logging module integration into PyCharm

这篇关于在 Pycharm 中过滤记录器控制台输出的简单方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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