telepathy-glib Reference Manual | ||||
---|---|---|---|---|
ANSI codes for debug messagesANSI codes for debug messages — used to colorize log messages for clarity |
#include <telepathy-glib/debug-ansi.h> #define TP_ANSI_RESET #define TP_ANSI_BOLD_ON #define TP_ANSI_INVERSE_ON #define TP_ANSI_BOLD_OFF #define TP_ANSI_FG_BLACK #define TP_ANSI_FG_RED #define TP_ANSI_FG_GREEN #define TP_ANSI_FG_YELLOW #define TP_ANSI_FG_BLUE #define TP_ANSI_FG_MAGENTA #define TP_ANSI_FG_CYAN #define TP_ANSI_FG_WHITE #define TP_ANSI_BG_RED #define TP_ANSI_BG_GREEN #define TP_ANSI_BG_YELLOW #define TP_ANSI_BG_BLUE #define TP_ANSI_BG_MAGENTA #define TP_ANSI_BG_CYAN #define TP_ANSI_BG_WHITE
This header provides some ANSI escapes you can use to make debug messages more colourful. Please use sparingly.