Top | ![]() |
![]() |
![]() |
![]() |
GsDebug * | gs_debug_new () |
GsDebug * | gs_debug_new_from_environment () |
void | gs_debug_set_verbose () |
GsDebug * gs_debug_new (gchar **domains
,gboolean verbose
,gboolean use_time
);
Create a new GsDebug with the given configuration.
Ownership of domains
is transferred to this function. It will be freed with
g_strfreev()
when the GsDebug is destroyed.
domains |
a GStrv of debug log domains to output,
or |
[transfer full][nullable] |
verbose |
whether to output log debug messages |
|
use_time |
whether to output a timestamp with each log message |
Since: 40
GsDebug *
gs_debug_new_from_environment (void
);
Create a new GsDebug with its configuration loaded from environment variables.
Since: 40