Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam B2C-Commerce-Developer All Questions
Exam B2C-Commerce-Developer All Questions

View all questions & answers for the B2C-Commerce-Developer exam

Salesforce Developers B2C-Commerce-Developer Question # 52 Topic 6 Discussion

B2C-Commerce-Developer Exam Topic 6 Question 52 Discussion:
Question #: 52
Topic #: 6

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.

B2C-Commerce-Developer Question 52

Which statement correctly adds a log entry?


A.

Logger.exception(‘Unable to find Apple Paypayment 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);


Get Premium B2C-Commerce-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.