GJS: Logging for extensions?



Hi all,

Since I'm working on a reasonably complex shell extension
(http://gfxmonk.net/shellshape/), I am wondering if there's a decent
logging system for gjs or gnome-shell. Right now I'm using
global.log(), but this is a bit rubbish since it's really verbose, and
I end up leaving my log comments commented out and traipsing round the
codebase enabling them when I'm trying to debug something.

So, is there anything for this already? Or should I try porting a
browser-based logger to gjs and/or roll my own?

Cheers,
 - Tim.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]