Skip to content

Use GLib structured logging

Suitable for viewing logs in tools such as journalctl, in particular adding location information to the message, see https://docs.gtk.org/glib/logging.html.

Requires GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_56 to work properly in GLib logging macros (not documented, see glib/gmessages.h).

Inspired by !35 (merged).

Edited by Gaël Bonithon

Merge request reports