![]() |
![]() |
![]() |
PackageKit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define egg_debug (...) #define egg_warning (...) #define egg_error (...) gboolean egg_debug_init (gint *argc, gchar ***argv); GOptionGroup * egg_debug_get_option_group (void); gboolean egg_debug_is_verbose (void); void egg_debug_backtrace (void); void egg_debug_set_log_filename (const gchar *filename); void egg_debug_real (const gchar *func, const gchar *file, gint line, const gchar *format, ...); void egg_warning_real (const gchar *func, const gchar *file, gint line, const gchar *format, ...); void egg_error_real (const gchar *func, const gchar *file, gint line, const gchar *format, ...);
gboolean egg_debug_init (gint *argc, gchar ***argv);
Parses command line arguments.
GOptionGroup * egg_debug_get_option_group (void);
Returns a GOptionGroup for the commandline arguments recognized
by debugging. You should add this group to your GOptionContext
with g_option_context_add_group()
, if you are using
g_option_context_parse()
to parse your commandline arguments.
Returns : |
a GOptionGroup for the commandline arguments |
gboolean egg_debug_is_verbose (void);
Returns : |
TRUE if we have debugging enabled |
void egg_debug_real (const gchar *func, const gchar *file, gint line, const gchar *format, ...);
|
|
|
|
|
|
|
|
|
void egg_warning_real (const gchar *func, const gchar *file, gint line, const gchar *format, ...);
|
|
|
|
|
|
|
|
|