linq log

  • Thread starter Thread starter Padu
  • Start date Start date
P

Padu

I know I can do something like this:

myLinqContext.Log = Console.Out;

Obviously because Console.Out is a TextWriter. But instead of redirecting
the linq log to the console, I want to redirect it to the output window. I
couldn't find a Trace.Out, neither anything in the DefaultTraceListener that
resembles a TextWriter....

Where did I get lost?

Cheers

Padu
 
Padu,
Obviously because Console.Out is a TextWriter. But instead of redirecting
the linq log to the console, I want to redirect it to the output window. I
couldn't find a Trace.Out, neither anything in the DefaultTraceListener that
resembles a TextWriter....

Where did I get lost?

Nowhere -- it's not your fault because there is nothing shipped with .NET
doing this automatically.

Solution:
http://www.u2u.info/Blogs/Kris/Lists/Posts/Post.aspx?ID=11
 
Back
Top