-
Notifications
You must be signed in to change notification settings - Fork 415
Open
Labels
Description
There seems to be a lot of code called in beginTrace for no reason, when debugging is turned off. That's assuming I'm not missing anything,
But even with debugging turned off, debug_backtrace and other functions are called regardless, if debugging/logging is on or off. Would it make sense for this to be a simple bool check wrapped around the begin and end trace.
Is this really needed in production, I've found it useful, especially with pgt issues, but I wonder if there are other methods that would prove more useful?