How To Optimize Code By Disabling Debug Mode?
Sumit Mishra
Technology Enthusiast | A Coder | Salesforce Makes Business Possible | 22x Salesforce Architect
At times when an application throws an error, we make use of debug statements in Salesforce apex to debug code. So normally, you’d disable the debug log in production org. However, when you analyze an issue, you need to turn it on. Even if debug logs are disabled, they can still affect the performance of your application. Today, in this blog, you’ll know how to optimize code by disabling debug mode in production org!
You need to create the object and class to make a configurable debug.