I\'m trying to use System.Diagnostics to do some very basic logging. I figure I\'d use what\'s in the box rather than taking on an extra dependency like Log4Net or EntLib. <
Try this simple solution. In example below, "SomeNoisyLibrary" is littering the log with many useless entries. We filter them with "when condition"
https://github.com/NLog/NLog/wiki/When-Filter