logSetFatalMask
Sets the log levels which are fatal in the given domain.
flags@GLib.LogLevelFlags.LEVEL_ERROR is always fatal.
This has no effect on structured log messages (using func@GLib.log_structured or func@GLib.log_structured_array). To change the fatal behaviour for specific log messages, programs must install a custom log writer function using func@GLib.log_set_writer_func. See logging.html#using-structured-logging.
This function is mostly intended to be used with flags@GLib.LogLevelFlags.LEVEL_CRITICAL. You should typically not set flags@GLib.LogLevelFlags.LEVEL_WARNING, flags@GLib.LogLevelFlags.LEVEL_MESSAGE, flags@GLib.LogLevelFlags.LEVEL_INFO or flags@GLib.LogLevelFlags.LEVEL_DEBUG as fatal except inside of test programs.
Return
the old fatal mask for the log domain
Parameters
the log domain
the new fatal mask