ServiceNow Certified Application Developer — Question 36
Which one of the following is NOT a method used for logging messages in a server-side script for a privately-scoped application?
Answer options
- A. gs.log()
- B. gs.error()
- C. gs.warn()
- D. gs.debug()
Correct answer: A
Explanation
The correct answer is A, as gs.log() is not typically used in server-side scripts for logging in privately-scoped applications. The other options, gs.error(), gs.warn(), and gs.debug(), are all valid methods for logging different levels of messages in such scripts.