How to implement Trace best

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Thorsten Tarrach (tho_public_at_gmx.de)
Date: 02/26/04


Date: Thu, 26 Feb 2004 19:35:19 +0100

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



Relevant Pages