Sets the message levels which are always fatal, in any log domain.
When a message with any of these levels is logged the program terminates.
You can only set the levels defined by GLib to be fatal.
GLib.LogLevelFlags.LEVEL_ERROR is always fatal.
You can also make some message levels fatal at runtime by setting
the G_DEBUG environment variable (see
Running GLib Applications).
Libraries should not call this function, as it affects all messages logged
by a process, including those from other libraries.
Sets the message levels which are always fatal, in any log domain.
When a message with any of these levels is logged the program terminates. You can only set the levels defined by GLib to be fatal. GLib.LogLevelFlags.LEVEL_ERROR is always fatal.
You can also make some message levels fatal at runtime by setting the
G_DEBUGenvironment variable (see Running GLib Applications).Libraries should not call this function, as it affects all messages logged by a process, including those from other libraries.
Structured log messages (using GLib.log_structured and GLib.log_structured_array) are fatal only if the default log writer is used; otherwise it is up to the writer function to determine which log messages are fatal. See Using Structured Logging.