Exposing log messages in your production code is considered an anti-pattern. Removing debug statements after development avoids generating unnecessary verbose logs that may expose too much information.
Business Impact
Decreased operational efficiency, increased potential for human error, delayed time-to-market, and decreased employee satisfaction.
Is your Salesforce solution affected by Unexpected console.logs?
Clayton detects anti-patterns and offers automated fix advice to kickstart your Well-Architected journey.