Function

Valentdebug_init

unstable since: 1.0

Declaration [src]

void
valent_debug_init (
  void
)

Description [src]

Initializes logging for Valent.

This should be called before the application starts, which is typically when g_application_run() is invoked.

If VALENT_DEBUG_ENABLE is defined, debugging messages only useful for development will be printed to the log.

If VALENT_TRACE_ENABLE is defined, tracing will be performed at the log level VALENT_LOG_LEVEL_TRACE. These will be passed to sysprof for profiling, if available.

Available since: 1.0