nerdexam
ServiceNow

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()…

Submitted by fernanda_arg· Apr 18, 2026Designing and Creating an Application

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)
  • A
    4% (1)
  • B
    4% (1)
  • D
    92% (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

#Server-side Scripting#Logging#Scoped Applications#API Methods

Community Discussion

No community discussion yet for this question.

Full CAD Practice