Function

GLib-2.0GLiblog_set_debug_enabledSince 2.72

  • Enable or disable debug output from the GLib logging system for all domains.

    This value interacts disjunctively with G_MESSAGES_DEBUG, DEBUG_INVOCATION and GLib.log_writer_default_set_debug_domains — if any of them would allow a debug message to be outputted, it will be.

    Note that this should not be used from within library code to enable debug output — it is intended for external use.

    Parameters

    • enabled: boolean

      TRUE to enable debug output, FALSE otherwise

    Returns void

    2.72