Document logging features
I could not find any details as to what log()
and logError()
are supposed to take as arguments, what their behaviour is, and how to trigger more complicated logging, such as a "C" g_warning()
that could be caught by gdb, or how to trigger a stack dump from gjs easily[[1]].
[1]: It seems that let e = new Error(); log (e.stack);
prints a stack dump.