I used to use DebugView.exe to view Debug messages from my web applications in classic ASP.Net. I just need to use Debug.WriteLine("Message to display"); and it shows in the window on the DebugView. I can also trace/view messages on the Production Server by using that method.
Eg. http://woutercx.com/2013/08/23/debugview-tool-how-it-saved-my-day/
In ASPNetCore, I am trying to do the samething by using the Logger. I can view all the loggings correctly in VS2015 Output Window. But I couldn't see it anymore in DebugView software. And those logging messages are missing with other thousand of logging lines from MVC & ASP Engines and it's really difficult to view the messages which I only want to view.
Please see as an example in the picture below:
Is there anyway to view those logging messages in DebugView in ASP.Net Core? Or anyway to get rid of those extra loggings in ASPNet.Core?
I did try to exclude those lines in Startup.cs... but no success yet.
loggerFactory.AddConsole((cat, level) => cat.StartsWith("WindowsAuthentication.") && level == LogLevel.Debug);
loggerFactory.AddDebug(LogLevel.Debug);
