GLib.log_set_fatal_mask

function log_set_fatal_mask(log_domain: String, fatal_mask: GLib.LogLevelFlags): GLib.LogLevelFlags {
    // Gjs wrapper for g_log_set_fatal_mask()
}
  

Sets the log levels which are fatal in the given domain. GLib.LogLevelFlags.level_error is always fatal.

log_domain

the log domain

fatal_mask

the new fatal mask

Returns

the old fatal mask for the log domain