Skip to content

Logging adapter for Glib: discard exceptions

GLib.log_writer_format_fields has issue on win32 fixing which in glib can lead to incompatibility issues on all platforms. See #222 (closed) for details.

Since uncaught exceptions in logging may be a bigger problem than original information going to be logged - just ignore exceptions around GLib.log_writer_format_fields with trying to pass log to user via default stdout/stderr handler via GLib.log_writer_standard_streams

Edited by Vasily Galkin

Merge request reports