Closed fidergo-stephane-gourichon closed 6 years ago
Console message are just lost in windowed applications. Even in console applications, Console output is not handy at all: not easily redirected to log, and copy-paste is clumsy.
On the contrary, Trace naturally appears in debugger, is easily duplicated to logs via .NET trace listeners. Ref e.g. https://docs.microsoft.com/en-us/dotnet/framework/debug-trace-profile/tracing-and-instrumenting-applications
Just updated the pull request (fix wrong commit).
@fidergo-stephane-gourichon can we make this consistent across all samples?
Console message are just lost in windowed applications. Even in console applications, Console output is not handy at all: not easily redirected to log, and copy-paste is clumsy.
On the contrary, Trace naturally appears in debugger, is easily duplicated to logs via .NET trace listeners. Ref e.g. https://docs.microsoft.com/en-us/dotnet/framework/debug-trace-profile/tracing-and-instrumenting-applications