CAD · Question #81
Which server-side API debug log method is available for scoped applications?
The correct answer is D. gs.info(). The server-side API debug log method available for scoped applications is gs.info(). This method logs informational messages that describe the progress of the application. Older methods such as gs.print() and gs.log() are not available in scoped applications. The gs.debuglog()…
Question
Which server-side API debug log method is available for scoped applications?
Options
- Ags.print()
- Bgs.log()
- Cgs.debuglog()
- Dgs.info()
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- D92% (22)
Explanation
The server-side API debug log method available for scoped applications is gs.info(). This method logs informational messages that describe the progress of the application. Older methods such as gs.print() and gs.log() are not available in scoped applications. The gs.debuglog() method does not exist. The gs.info(), gs.warn(), gs.error(), and gs.debug() methods work in both scoped applications and global, and are therefore more versatile going forward in future versions.
Topics
Community Discussion
No community discussion yet for this question.