traceswitch

TraceSwitch and SourceSwitch - what's the difference?

爱⌒轻易说出口 提交于 2019-12-05 19:39:56
问题 So I'm probably missing the obvious here, but what actually is the difference between the functionality of the TraceSwitch and SourceSwitch classes? They both give identical summary descriptions: Provides a multilevel switch to control tracing and debug output without recompiling your code. Are the Remarks sections are oddly similar to my eyes. Could someone please clarify the difference in their functionality and usage cases? (For completeness, I'm using switches with my TraceSource object,

TraceSwitch and SourceSwitch - what's the difference?

只谈情不闲聊 提交于 2019-12-04 02:51:44
So I'm probably missing the obvious here, but what actually is the difference between the functionality of the TraceSwitch and SourceSwitch classes? They both give identical summary descriptions: Provides a multilevel switch to control tracing and debug output without recompiling your code. Are the Remarks sections are oddly similar to my eyes. Could someone please clarify the difference in their functionality and usage cases? (For completeness, I'm using switches with my TraceSource object, rather than the old static Trace class, though I doubt it makes much difference.) GraemeF The