egg-debug
egg-debug — Debugging functions
|
|
Synopsis
#define egg_debug (...)
#define egg_warning (...)
#define egg_error (...)
void egg_debug_init (gboolean debug);
void egg_debug_set_logging (gboolean enabled);
gboolean egg_debug_enabled (void);
void egg_debug_backtrace (void);
void egg_debug_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
void egg_warning_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
void egg_error_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
Description
This file contains functions that can be used for debugging.
Details
egg_debug()
#define egg_debug(...)
Non critical debugging
egg_warning()
#define egg_warning(...)
Important debugging
egg_error()
#define egg_error(...)
Critical debugging, with exit
egg_debug_init ()
void egg_debug_init (gboolean debug);
debug :
|
If we should print out verbose logging
|
egg_debug_set_logging ()
void egg_debug_set_logging (gboolean enabled);
egg_debug_enabled ()
gboolean egg_debug_enabled (void);
Returns : |
TRUE if we have debugging enabled
|
egg_debug_backtrace ()
void egg_debug_backtrace (void);
egg_debug_real ()
void egg_debug_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|
egg_warning_real ()
void egg_warning_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|
egg_error_real ()
void egg_error_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|