Notifications
Clear all

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

1 Posts
1 Users
0 Likes
83 Views
(@pochethurman)
Posts: 704
Noble Member
Topic starter
 

A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

  • A . Logger.info(‘Unexpected service response’)
    B. Logger.debug(‘Unexpected service response’)
    C. Logger.error(‘Unexpected service response’)
    D. Logger.warn(‘Unexpected service response’)

Show Answer Hide Answer

Suggested Answer: D
 
Posted : 11/01/2023 11:26 pm

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: