Topics: Logging Application Block
Sep 12, 2008 at 8:36 AM

Does there exist a fully implemented DebugTraceListener anywhere. I know there is an exmple of one in the docs (Custom Trace Listener), I was just wondering if anyone had a fully implements one? There isn't one out of the box is there??

Thanks for your help

Sep 12, 2008 at 3:07 PM

If you don't care about configurable formatting, you can use the .NET framework's System.Diagnostics.DefaultTraceListener. You can add it through the configuration tool as a "System Diagnostics Trace Listener".

Hope this helps,

Sep 12, 2008 at 3:54 PM
Thanks Fernando.

I did try that listener first and found (as you pointed out) that I the format was wrong and it had no Formatter property, so I though I should start looking for an EntLib listener instead.

I guess I'm going to use my own custom listener, like the one in the quick start.