NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 26, 2020, 05:26:46 AM

Title: Cost of use Addlog
Post by: Alberto on May 26, 2020, 05:26:46 AM
Hi, I use to use .Addlog() to debug instead of .Trace()
Is this OK?
Title: Re: Cost of use Addlog
Post by: Bruce on May 26, 2020, 09:45:36 PM
I guess it depends on what you are doing.
Trace is designed for debugging. AddLog is designed for logging requests.
It's your program so you're free to do whatever you like, but I would only use AddLog in places where I was expcitily wanting something to appear in the log.

cheers
Bruce