Generate and Analyze Logs
Apex에서 System.debug()
메서드를 사용해보자
System.debug()
는 갑승ㄹ 추적하기 위해 코드의 원하는 위치에 추가할 수 있어 코드를 디버깅하는데 유용하다는 장점이있다.
System.debug()
의 구문들
System.debug('Your Message');
System.debug(yourVariable);
System.debug('Your Label: ' + yourVariable);