Sets the log levels which are fatal in the given domain.
g_log_level_error is always fatal.
This has no effect on structured log messages (using log_structured or log_structured_array). To change the fatal behaviour for specific log messages, programs must install a custom log writer function using set_writer_func . See Using Structured Logging.
This function is mostly intended to be used with g_log_level_critical. You should typically not set g_log_level_warning, g_log_level_message, g_log_level_info or g_log_level_debug as fatal except inside of test programs.
log_domain |
the log domain |
fatal_mask |
the new fatal mask |
the old fatal mask for the log domain |