tracesource

When do I need more than one TraceSource in code?

冷暖自知 提交于 2019-11-30 21:27:36
If one application is writing all its activity data in one log file, is there any use of having more than one TraceSource? I am just curious about the uses cases where one will need more than one TraceSource in the code. wageoghe See these answers to other questions for a good starting point on using TraceSources: can't understand .net 2010 tracing and app.config How to use TraceSource across classes I would say that any time you have more than one class you might (might) consider having more than one TraceSource. One advantage to having more than one TraceSource is that it increases the

When do I need more than one TraceSource in code?

左心房为你撑大大i 提交于 2019-11-30 05:26:17
问题 If one application is writing all its activity data in one log file, is there any use of having more than one TraceSource? I am just curious about the uses cases where one will need more than one TraceSource in the code. 回答1: See these answers to other questions for a good starting point on using TraceSources: can't understand .net 2010 tracing and app.config How to use TraceSource across classes I would say that any time you have more than one class you might (might) consider having more