This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
2005-11-07 10:56:25 +01:00
|
|
|
#ifndef __GM_DEBUG_H__
|
|
|
|
#define __GM_DEBUG_H__ 1
|
|
|
|
|
|
|
|
typedef enum _GmDebugLevel {
|
|
|
|
DEBUG_ALWAYS = 1 << 1,
|
|
|
|
DEBUG_DEFAULT = 1 << 2,
|
|
|
|
DEBUG_MCP = 1 << 3,
|
|
|
|
DEBUG_ALL = 0xFFFF
|
|
|
|
} GmDebugLevel;
|
|
|
|
|
2005-11-15 13:00:38 +01:00
|
|
|
#define GM_DEBUG(format, args...) gm_debug_msg(DEBUG_ALWAYS, format, ##args)
|
|
|
|
|
2005-11-07 10:56:25 +01:00
|
|
|
void gm_debug_msg(gint level, char *line, ...);
|
|
|
|
void gm_debug_set_level(gchar *level);
|
|
|
|
|
|
|
|
#endif /* __GM_DEBUG_H__ */
|