26#ifndef _PURPLE_DEBUG_H_
27#define _PURPLE_DEBUG_H_
54 const char *category);
56 void (*_purple_reserved1)(void);
57 void (*_purple_reserved2)(void);
58 void (*_purple_reserved3)(void);
59 void (*_purple_reserved4)(void);
77 const char *format, ...) G_GNUC_PRINTF(3, 4);
void void void void void void void purple_debug_set_enabled(gboolean enabled)
Enable or disable printing debug output to the console.
void void void purple_debug_info(const char *category, const char *format,...) G_GNUC_PRINTF(2
Outputs info level debug information.
void purple_debug_set_unsafe(gboolean unsafe)
Enable or disable unsafe debugging.
void purple_debug_set_verbose(gboolean verbose)
Enable or disable verbose debugging.
gboolean purple_debug_is_enabled(void)
Check if console debug output is enabled.
void void void void purple_debug_warning(const char *category, const char *format,...) G_GNUC_PRINTF(2
Outputs warning level debug information.
void void void void void void purple_debug_fatal(const char *category, const char *format,...) G_GNUC_PRINTF(2
Outputs fatal error level debug information.
void void purple_debug_misc(const char *category, const char *format,...) G_GNUC_PRINTF(2
Outputs misc.
void void void void void purple_debug_error(const char *category, const char *format,...) G_GNUC_PRINTF(2
Outputs error level debug information.
PurpleDebugUiOps * purple_debug_get_ui_ops(void)
Returns the UI operations structure used when outputting debug information.
gboolean purple_debug_is_unsafe(void)
Check if unsafe debugging is enabled.
PurpleDebugLevel
Debug levels.
@ PURPLE_DEBUG_ERROR
Errors.
@ PURPLE_DEBUG_WARNING
Warnings.
@ PURPLE_DEBUG_FATAL
Fatal errors.
@ PURPLE_DEBUG_ALL
All debug levels.
@ PURPLE_DEBUG_MISC
General chatter.
@ PURPLE_DEBUG_INFO
General operation Information.
void purple_debug(PurpleDebugLevel level, const char *category, const char *format,...) G_GNUC_PRINTF(3
Outputs debug information.
void purple_debug_set_ui_ops(PurpleDebugUiOps *ops)
Sets the UI operations structure to be used when outputting debug information.
gboolean purple_debug_is_verbose(void)
Check if verbose logging is enabled.
void purple_debug_init(void)
Initializes the debug subsystem.