Function

GLiblog_set_debug_enabled

Declaration

void
g_log_set_debug_enabled (
  gboolean enabled
)

Description

Enable or disable debug output from the GLib logging system for all domains. This value interacts disjunctively with G_MESSAGES_DEBUG — if either 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.

Available since:2.72

Parameters

enabled gboolean
 

TRUE to enable debug output, FALSE otherwise.