can't understand .net 2010 tracing and app.config
问题 In my app.config I want to set 3 tracing levels (switches?): verbose, warning and none. In the debug version of the code, I want the verbose switch to be active, in the release I want warning. In special cases my application users can modify the config file to disable all traces. I want debug traces to output on the console, while release traces only to a log file. I',ve written the following: [...] <system.diagnostics> <sources> <!-- This section defines the logging configuration for My