GLogLevelFlags

Flags specifying the level of log messages. It is possible to change how GLib treats messages of the various levels using g_log_set_handler() and g_log_set_fatal_mask(). G_LOG_FLAG_RECURSION internal flag G_LOG_FLAG_FATAL internal flag G_LOG_LEVEL_ERROR log level for errors, see g_error(). This level is also used for messages produced by g_assert(). G_LOG_LEVEL_CRITICAL log level for critical messages, see g_critical(). This level is also used for messages produced by g_return_if_fail() and g_return_val_if_fail(). G_LOG_LEVEL_WARNING log level for warnings, see g_warning() G_LOG_LEVEL_MESSAGE log level for messages, see g_message() G_LOG_LEVEL_INFO log level for informational messages G_LOG_LEVEL_DEBUG log level for debug messages, see g_debug() G_LOG_LEVEL_MASK a mask including all log levels

Values

ValueMeaning
FLAG_RECURSION1 << 0
FLAG_FATAL1 << 1
LEVEL_ERROR1 << 2
LEVEL_CRITICAL1 << 3
LEVEL_WARNING1 << 4
LEVEL_MESSAGE1 << 5
LEVEL_INFO1 << 6
LEVEL_DEBUG1 << 7
LEVEL_MASK~(FLAG_RECURSION | FLAG_FATAL)

Meta