View Categories

“System.debug” First Parameter Has To Be Logging Level

Table of Contents

Impact area

Manageability

Severity

Medium

Affected element

Apex Class

Rule ID #

SF-SYS-DEBUG

Impact

“System debug” has to set Logging level as first parameter. Having the Logging level specified provides a cleaner log and improves readability of it.

Remediation

Add Logging level as first parameter in “System.debug” method.

Time to fix

10 min

Powered by BetterDocs