Scoped Application Script Logging
gs.print() and gs.log() are older and not available in scoped applications, whereas gs.debug(), gs.info(), gs.warn(), gs.error() work in both scoped applications and global are therefore are more versatile going forward in future versions.
Keep in mind that, info, error, warn and debug logging methods are not only intended for Scoped Applications but can also be used in the Global Scope. However, these logging methods provide verbosity levels to a log message. Another consideration is that gs.log() cannot be used if you are developing in a scoped application.
gs.print() and gs.log() are older and not available in scoped applications, whereas gs.debug(), gs.info(), gs.warn(), gs.error() work in both scoped applications and global are therefore are more versatile going forward in future versions.
Reference: https://developer.servicenow.com/dev.do#!/guides/utah/now-platform/tpb-guide/debugging_best_practices
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.CAD Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
VirtuaLee
Highly Voted 2 years, 6 months agoarango
Most Recent 2 days agomanikanta_gnbv
7 months, 1 week agoxxshinichan
1 year, 4 months ago