MessageLog.logSetAlwaysFatal

Sets the message levels which are always fatal, in any log domain. When a message with any of these levels is logged the program terminates. You can only set the levels defined by GLib to be fatal. G_LOG_LEVEL_ERROR is always fatal. You can also make some message levels fatal at runtime by setting the G_DEBUG environment variable (see Running GLib Applications).

class MessageLog
static
logSetAlwaysFatal

Parameters

fatalMask GLogLevelFlags

the mask containing bits set for each level of error which is to be fatal.

Return Value

the old fatal mask.

Meta