W
Wayne
Hi,
I wonder how I should use dotNets TraceSource logging class globally within my C# application.
All examples I have seen only use the TraceSource class in the Main method but I need to use it from everywhere...
Should I wrap the TraceSource object into a Singleton class or is there a better way of doing this?
Thanks in advance!
/Wayne
I wonder how I should use dotNets TraceSource logging class globally within my C# application.
All examples I have seen only use the TraceSource class in the Main method but I need to use it from everywhere...
Should I wrap the TraceSource object into a Singleton class or is there a better way of doing this?
Thanks in advance!
/Wayne