Marco Trevisan (Treviño) 1bd9076590 main: Define a custom log writer to dump on structured messages
Even though GNOME Shell is not explicitly using structured logging via
G_LOG_USE_STRUCTURED, GLib uses it as default since 2016 [1], and so
we're de facto using it.

As per this, if backtrace on warnings is enabled, it is ignored since the
log handler isn't used anymore, and no dump is printed.

Thus, replace the default log handlers with writer functions instead, honoring
backtrace-warnings debug string.

[1] https://gitlab.gnome.org/GNOME/glib/-/commit/fce7cfaf40b6e1e50c9140aa0397f5

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/697>
2022-07-06 17:14:56 +00:00
..
2022-06-08 14:16:28 +00:00
2020-10-19 20:18:11 +02:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2022-05-20 12:00:22 +00:00
2019-08-27 15:30:51 +03:00
2020-10-19 20:18:11 +02:00
2020-05-20 15:12:03 +02:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00