Salesforce CCM-101 Exam - Topic 8 Question 24 Discussion
The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.Which statement correctly adds a log entry?
A) Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
B) Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
C) Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
D) Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Erick
9 months agoNaomi
10 months agoAmie
10 months agoKing
10 months agoDulce
10 months agoLajuana
11 months agoBeula
11 months agoTroy
11 months agoShad
11 months agoBenedict
11 months agoJaney
11 months agoDahlia
11 months agoTeresita
1 year agoAllene
1 year agoOlen
1 year agoAshleigh
1 year agoChandra
1 year agoBeatriz
1 year agoJudy
1 year agoAgustin
1 year agoNovella
1 year agoAmie
1 year agoGlory
1 year agoNoble
1 year agoWhitney
1 year agoDetra
1 year agoSharika
1 year agoDeeanna
1 year agoJeanice
1 year agoClaribel
1 year agoProvidencia
1 year agoClaribel
1 year agoSerita
1 year agoNovella
1 year agoOwen
1 year agoGlennis
1 year agoShoshana
1 year agoGerald
1 year agoRyan
1 year agoShala
1 year ago