Function

GLib-2.0GLiblog_get_debug_enabledSince 2.72

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

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

    Note also that the value of this does not depend on G_MESSAGES_DEBUG, nor DEBUG_INVOCATION, nor GLib.log_writer_default_set_debug_domains; see the docs for GLib.log_set_debug_enabled.

    Returns boolean

    TRUE if debug output is enabled, FALSE otherwise

    2.72