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
6 months agoNaomi
7 months agoAmie
7 months agoKing
7 months agoDulce
7 months agoLajuana
8 months agoBeula
8 months agoTroy
8 months agoShad
8 months agoBenedict
8 months agoJaney
8 months agoDahlia
8 months agoTeresita
1 year agoAllene
11 months agoOlen
11 months agoAshleigh
11 months agoChandra
11 months agoBeatriz
11 months agoJudy
12 months agoAgustin
12 months agoNovella
12 months agoAmie
1 year agoGlory
1 year agoNoble
12 months agoWhitney
12 months 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