- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2012 10:10 AM
I have a confusion when to use what i.e. gs.log() or gs.print() as both [gs.log() and gs.print()] writes to system log file.
Anybody please explain the difference...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2012 06:28 AM
I believe gs.print() will write an entry to the Log File, while gs.log() will write to both the System Log and the Log File as well as give you an option to specify the Source. Both default to "*** Script".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 09:54 PM
The major difference between gs.log() and gs.print() is that gs.log() is not working in Scoped Application.
So for Scoped Application, You must consider gs.info().