A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
A . logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);
B . logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
C . Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
D . Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Answer: B
Latest Certified B2C Commerce Developer Dumps Valid Version with 148 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund