Notifications
Clear all
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’)
Suggested Answer: D
Posted : 11/01/2023 11:26 pm