I don't know about performance overhead issues here, but you could be more
generic by using code like:
Trace.WriteLine("Entering " + MethodBase.GetCurrentMethod().ToString () );
and there are probably Reflection methods you could call to enumerate the
parameter names and values.
--
Phil Wilson [MVP Windows Installer]
----
"Thorsten Tarrach" <th********@gmx.de> wrote in message
news:uP**************@TK2MSFTNGP10.phx.gbl...
Hallo,
The best thing would be to implement a trace call in every procedure to
write an entry in the log file:
If MySwitch.TraceVerbose() then trace.writeline("Procedure xyz started with
Parameters ...")
Unfortuantelly is this a lot of work.
Is there an easier way to implement a good tracing?
How is tracing done in professional applications?
Thanks, Thorsten