简体   繁体   English

仅我的日志的Visual Studio输出窗口

[英]Visual Studio output window with just my logs

It's there a way in Visual Studio 2015 to make the output window to write just the messages that I send thru System.Diagnostics? 在Visual Studio 2015中,有一种方法可以使输出窗口仅编写通过System.Diagnostics发送的消息。

I'm printing debug messages but there's too mucho bloat, I just want to see mine. 我正在打印调试消息,但是有太多膨胀,我只想看看我的。

Have you filtered the Output window to reduce the flood of message that get printed? 您是否过滤了“输出”窗口以减少大量已打印的消息? Right-click and you should see a set like this: 右键单击,您将看到如下所示的集合:

输出窗口消息过滤器

I've wanted to filter my Visual Studio output into my own custom categories for many years. 多年来,我一直希望将Visual Studio输出过滤到自己的自定义类别中。 Eventually I decided to write an extension to do it. 最终,我决定编写一个扩展来做到这一点。 If you're interested, you can check it out at niahtextfilter.com . 如果您有兴趣,可以在niahtextfilter.com上查看

Here's an idea of what it does: 这是它的作用的一个想法: 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM