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
8 months agoNaomi
8 months agoAmie
8 months agoKing
9 months agoDulce
9 months agoLajuana
9 months agoBeula
9 months agoTroy
9 months agoShad
10 months agoBenedict
10 months agoJaney
10 months agoDahlia
10 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