467,864 Members | 1,746 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,864 developers. It's quick & easy.

System.Diagnostics.Trace.WriteLine Problem in C#

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
  • viewed: 3469

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Raj Dhrolia | last post: by
4 posts views Thread by A.M | last post: by
4 posts views Thread by Jiho Han | last post: by
reply views Thread by Frederic ESNOUF \(MVP-ISA\) | last post: by
7 posts views Thread by gilad | last post: by
1 post views Thread by samueltilden | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.