After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785731 - Verbose Object Print Output
Verbose Object Print Output
Status: RESOLVED OBSOLETE
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-02 13:01 UTC by Bastian Ilsø
Modified: 2018-01-27 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastian Ilsø 2017-08-02 13:01:11 UTC
Currently we only provide the object name and its class when logging an object using log(foo). 

Maybe we can provide some more useful output, such as the objects' functions/variables by default, possibly we can take inspiration from JSON[1] / The NodeJS terminal.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
Comment 1 GNOME Infrastructure Team 2018-01-27 12:04:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gjs/issues/107.