Function

GLiblog_get_debug_enabled

Declaration

gboolean
g_log_get_debug_enabled (
  void
)

Description

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

Note that this should not be used to conditionalise calls to g_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 g_log_set_debug_enabled().

Available since:2.72

Return value

Returns: gboolean
 

TRUE if debug output is enabled, FALSE otherwise.