The server-side GlideSystem class includes methods which can be used for logging/debugging:
- gs.log() - Global API
- gs.logError() - Global API
- gs.logWarning() - Global API
- gs.warn() - Scoped API
- gs.info() - Scoped API
- gs.debug() - Scoped API
- gs.error() - Scoped API
- gs.addInfoMessage() - Scoped API and Global API
- gs.addErrorMessage() - Scoped API and Global API
Happy Debugging 😊
Very nice article,keep updating.
ReplyDeleteThank you.
ServiceNow Developer Training