get_debug_enabled


Description:

[ Version ( since = "2.72" ) ]
public bool get_debug_enabled ()

Return whether debug output from the GLib logging system is enabled.

Note that this should not be used to conditionalise calls to debug or other logging functions; it should only be used from glogwriterfunc implementations.

Note also that the value of this does not depend on `G_MESSAGES_DEBUG`; see the docs for set_debug_enabled.

Returns:

true if debug output is enabled, false otherwise


Namespace: GLib.Log
Package: glib-2.0



2022 vala-language.org