TraceEX and TraceListener...any code examples?

W

Will Chapman

I've been trying to figure out how to use Trace,
TraceEX (OpenNETCF) and TraceListener.

Using Trace is straightforward for sending
messages to Output but how do I link this
with a TraceListener (or otherwize) so that
my Trace.Writeline() outputs are logged in a
text file?

Thanks...

Will Chapman
 
G

Guest

Take a look at the TextWriterTraceListener class in the SDF. It does
exactly that.

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top