G
George Fresin
Hi,
in my ASP.NET application I use System.Diagnostic.Trace() statements to dump
onto my log. Now I must use a TraceSource object (by the way, I've noticed
that TraceSource does not support assertions, while the Trace class exposes
an Assert() method, so I suppose I'll have to use the Trace class in order
to use assertions; is it correct?) and I wonder where I have to create the
object (may be in Application? But in such a case I'd lock the object every
time I use it).
Thanks,
Paul
in my ASP.NET application I use System.Diagnostic.Trace() statements to dump
onto my log. Now I must use a TraceSource object (by the way, I've noticed
that TraceSource does not support assertions, while the Trace class exposes
an Assert() method, so I suppose I'll have to use the Trace class in order
to use assertions; is it correct?) and I wonder where I have to create the
object (may be in Application? But in such a case I'd lock the object every
time I use it).
Thanks,
Paul