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 [func@GLib.debug] or other logging functions; it should only be used from [ type@GLib.LogWriterFunc] implementations.

Note also that the value of this does not depend on `G_MESSAGES_DEBUG`, nor [func@GLib.log_writer_default_set_debug_domains]; see the docs for [func@GLib.log_set_debug_enabled].

Returns:

`TRUE` if debug output is enabled, `FALSE` otherwise


Namespace: GLib.Log
Package: glib-2.0