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 g_log_structured() or
g_log_structured_array()). To change the fatal behaviour for specific log
messages, programs must install a custom log writer function using
g_log_set_writer_func(). See
[Using Structured Logging][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.
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 g_log_structured() or g_log_structured_array()). To change the fatal behaviour for specific log messages, programs must install a custom log writer function using g_log_set_writer_func(). See [Using Structured Logging][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.