ServiceNow Certified Application Developer — Question 140
In a privately-scoped application, which methods are used for logging messages in server-side scripts? (Choose two.)
Answer options
- A. gs.logError()
- B. gs.log()
- C. gs.debug()
- D. gs.info()
- E. gs.error()
Correct answer: C, D
Explanation
The correct answers are C and D, as gs.debug() is used for logging debug messages and gs.info() is for informational logs. The other options, while related to logging, do not fit within the specified use case for a privately-scoped application’s server-side scripts.