pk-debug
pk-debug — Debugging functions
|
|
Synopsis
#define pk_debug (...)
#define pk_warning (...)
#define pk_error (...)
#define pk_assert_run_once (x)
void pk_debug_init (gboolean debug);
gboolean pk_debug_enabled (void);
void pk_debug_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
void pk_warning_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
void pk_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
pk_debug()
#define pk_debug(...)
pk_warning()
#define pk_warning(...)
pk_error()
#define pk_error(...)
pk_assert_run_once()
#define pk_assert_run_once(x)
pk_debug_init ()
void pk_debug_init (gboolean debug);
debug :
|
If we should print out verbose logging
|
pk_debug_enabled ()
gboolean pk_debug_enabled (void);
pk_debug_real ()
void pk_debug_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|
pk_warning_real ()
void pk_warning_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|
pk_error_real ()
void pk_error_real (const gchar *func,
const gchar *file,
int line,
const gchar *format,
...);
func :
|
|
file :
|
|
line :
|
|
format :
|
|
... :
|
|