can i use trace and traceListener for multi thread application (and multi-tracing)

  • Thread starter Thread starter Daylor
  • Start date Start date
D

Daylor

hi.
i have application with 5 threads.
can i use the trace and tracelistener, so if i trace in thread1 , it will
write to
file1, and if i trace to thread2 if will write to file2.

hope im clear, have a nice day.
 
Currently there's no way to do this using Trace. The best I can suggest is
to trace all of the output to one file, but include a tag which identifies
which thread each trace is on. Then sort it out after your scenario is
done.
David
 
Back
Top