D
dotNetDave
I'm wondering why this line:
System.Diagnostics.Trace.WriteLine("Some Text");
Does not work in C# in an ASP.NET application? While this one does:
System.Diagnostics.Trace.Listeners[0].Write("Some Text");
I don't want to worry about writing to each listener. Should the first line
work??
Thanks,
David
======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://www.cafepress.com/geekmusicart.1654787045
System.Diagnostics.Trace.WriteLine("Some Text");
Does not work in C# in an ASP.NET application? While this one does:
System.Diagnostics.Trace.Listeners[0].Write("Some Text");
I don't want to worry about writing to each listener. Should the first line
work??
Thanks,
David
======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://www.cafepress.com/geekmusicart.1654787045