As far as I understand, System.Console
will write to STDOUT by default, but what about System.Diagnostics.Trace
and System.Diagnostics.Debug
? What are the default behaviors, and are they configurable in any way?
It also seems that different people use different things (on the internet), but I'm assuming that most of what I've found is wrong, since there should be specific semantics for each of these, right? And if so, are there any frameworks (like ASP.NET or WPF) that make special use of these?
Also one last question, what are the rules of thumb for picking which one of these to use?