NetTalk Central

Author Topic: Cost of use Addlog  (Read 3288 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Cost of use Addlog
« on: May 26, 2020, 05:26:46 AM »
Hi, I use to use .Addlog() to debug instead of .Trace()
Is this OK?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Cost of use Addlog
« Reply #1 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