Is it possible to set the log level when logging with gs.log() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2011 07:36 AM
Is it possible to set the level of a log entry to Warning, Error, or Information? I see logs being created by the system with the levels being set, but I do not see an option to use the gs.log() function to set the level. Is this possible?
I'm currently using the source functionality "gs.log(msg,src)" but would like to enhance my logging in scripts, bus rules, etc...
Thanks,
Bryan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2011 09:55 AM
What's the desired goal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2011 07:39 AM
Not currently possible but it would be nice to have. I'll look into it to see if we can add it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2011 05:25 PM
I just added two new methods for the next release. Thanks for the suggestion.
gs.logWarning(msg, [source])
gs.logError(msg, [source])

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2011 05:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2011 09:25 AM
Thanks John, looking forward to seeing them in the next release!