TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Sets the log levels which are fatal in the given domain.
GLib.LogLevelFlags.LEVEL_ERROR is always fatal.
This has no effect on structured log messages (using GLib.log_structured or GLib.log_structured_array). To change the fatal behaviour for specific log messages, programs must install a custom log writer function using GLib.log_set_writer_func. See Using Structured Logging.
This function is mostly intended to be used with GLib.LogLevelFlags.LEVEL_CRITICAL. You should typically not set GLib.LogLevelFlags.LEVEL_WARNING, GLib.LogLevelFlags.LEVEL_MESSAGE, GLib.LogLevelFlags.LEVEL_INFO or GLib.LogLevelFlags.LEVEL_DEBUG as fatal except inside of test programs.
the log domain
the new fatal mask
the old fatal mask for the log domain
Sets the log levels which are fatal in the given domain.
GLib.LogLevelFlags.LEVEL_ERROR is always fatal.
This has no effect on structured log messages (using GLib.log_structured or GLib.log_structured_array). To change the fatal behaviour for specific log messages, programs must install a custom log writer function using GLib.log_set_writer_func. See Using Structured Logging.
This function is mostly intended to be used with GLib.LogLevelFlags.LEVEL_CRITICAL. You should typically not set GLib.LogLevelFlags.LEVEL_WARNING, GLib.LogLevelFlags.LEVEL_MESSAGE, GLib.LogLevelFlags.LEVEL_INFO or GLib.LogLevelFlags.LEVEL_DEBUG as fatal except inside of test programs.