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().

Values

ValueMeaning
FLAG_RECURSION1

internal flag

FLAG_FATAL2

internal flag

LEVEL_ERROR4

log level for errors, see g_error(). This level is also used for messages produced by g_assert().

LEVEL_CRITICAL8

log level for critical warning messages, see g_critical(). This level is also used for messages produced by g_return_if_fail() and g_return_val_if_fail().

LEVEL_WARNING16

log level for warnings, see g_warning()

LEVEL_MESSAGE32

log level for messages, see g_message()

LEVEL_INFO64

log level for informational messages, see g_info()

LEVEL_DEBUG128

log level for debug messages, see g_debug()

LEVEL_MASK-4

a mask including all log levels

Meta