By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,566 Members | 1,820 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,566 IT Pros & Developers. It's quick & easy.

System.Diagnostics.Trace.WriteLine Problem in C#

P: n/a
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


David McCarter [Microsoft MVP]
David McCarter''''s .NET Coding Standards available at:
Jul 1 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.