Groups | Blog | Home
all groups > dotnet framework > march 2008 >

dotnet framework : linq log



Padu
3/19/2008 6:47:50 PM
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
Markus Springweiler
3/20/2008 11:56:39 AM
Padu,

[quoted text, click to view]

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

--
AddThis Social Bookmark Button