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

< 1 min read

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

Updated on March 21, 2025
Table of contents
Was it helpful ?