Topic: Application slowdown when leaving simain.logxxx in code?
I have a huge function to monitor.
I inserted lots of SiMain.Logxxx calls to monitor variables, functions calls, return values etc.
When I disable logging via si.enabled:=false, the calls are still made.
Are they are performance hit, and I would need comment them out when I do not want to use logging (which would be a pain with hundreds of calls)?
I ant it as flexible as possible. When a user encounter issues, which do not result in a crash, I want to enable logging, and send the user this special version to get a log from him, and when not used, I just want to disable logging, without commenting hundreds of calls out.
