inspector: Some logging support

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 14 January 2018 22:05 EST

Add a way to toggle debug output on and off from the inspector. For now, we don't add a log viewer here, since that has the risk of deadlock until we've the logging completely separated by display, and also requires us to install a log writer function, which libraries are not supposed to do.

978c597e94 inspector: Some logging support
gtk/inspector/init.c | 2 +
gtk/inspector/logs.c | 211 ++++++++++++++++++++++++++++++++++++++++++
gtk/inspector/logs.h | 57 ++++++++++++
gtk/inspector/logs.ui | 227 ++++++++++++++++++++++++++++++++++++++++++++++
gtk/inspector/meson.build | 1 +
gtk/inspector/window.ui | 15 +++
6 files changed, 513 insertions(+)

Upstream: git.gnome.org


  • Share