## ANSI codes for debug messages

ANSI codes for debug messages — used to colorize log messages for "clarity"

## Synopsis

    #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

## Description

This header provides some ANSI escapes you can use to make debug messages more colourful. Please use sparingly.

## Details

### TP_ANSI_RESET

    #define TP_ANSI_RESET      "\x1b[0m"

### Warning

`TP_ANSI_RESET` is deprecated and should not be used in newly-written code. 0.13.3

Reset all attributes.

### TP_ANSI_BOLD_ON

    #define TP_ANSI_BOLD_ON    "\x1b[1m"

### Warning

`TP_ANSI_BOLD_ON` is deprecated and should not be used in newly-written code. 0.13.3

Set the bold attribute.

### TP_ANSI_INVERSE_ON

    #define TP_ANSI_INVERSE_ON "\x1b[7m"

### Warning

`TP_ANSI_INVERSE_ON` is deprecated and should not be used in newly-written code. 0.13.3

Set the inverse video attribute.

### TP_ANSI_BOLD_OFF

    #define TP_ANSI_BOLD_OFF   "\x1b[22m"

### Warning

`TP_ANSI_BOLD_OFF` is deprecated and should not be used in newly-written code. 0.13.3

Clear the bold attribute.

### TP_ANSI_FG_BLACK

    #define TP_ANSI_FG_BLACK   "\x1b[30m"

### Warning

`TP_ANSI_FG_BLACK` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_RED

    #define TP_ANSI_FG_RED     "\x1b[31m"

### Warning

`TP_ANSI_FG_RED` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_GREEN

    #define TP_ANSI_FG_GREEN   "\x1b[32m"

### Warning

`TP_ANSI_FG_GREEN` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_YELLOW

    #define TP_ANSI_FG_YELLOW  "\x1b[33m"

### Warning

`TP_ANSI_FG_YELLOW` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_BLUE

    #define TP_ANSI_FG_BLUE    "\x1b[34m"

### Warning

`TP_ANSI_FG_BLUE` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_MAGENTA

    #define TP_ANSI_FG_MAGENTA "\x1b[35m"

### Warning

`TP_ANSI_FG_MAGENTA` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_CYAN

    #define TP_ANSI_FG_CYAN    "\x1b[36m"

### Warning

`TP_ANSI_FG_CYAN` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_FG_WHITE

    #define TP_ANSI_FG_WHITE   "\x1b[37m"

### Warning

`TP_ANSI_FG_WHITE` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_RED

    #define TP_ANSI_BG_RED     "\x1b[41m"

### Warning

`TP_ANSI_BG_RED` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_GREEN

    #define TP_ANSI_BG_GREEN   "\x1b[42m"

### Warning

`TP_ANSI_BG_GREEN` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_YELLOW

    #define TP_ANSI_BG_YELLOW  "\x1b[43m"

### Warning

`TP_ANSI_BG_YELLOW` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_BLUE

    #define TP_ANSI_BG_BLUE    "\x1b[44m"

### Warning

`TP_ANSI_BG_BLUE` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_MAGENTA

    #define TP_ANSI_BG_MAGENTA "\x1b[45m"

### Warning

`TP_ANSI_BG_MAGENTA` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_CYAN

    #define TP_ANSI_BG_CYAN    "\x1b[46m"

### Warning

`TP_ANSI_BG_CYAN` is deprecated and should not be used in newly-written code. 0.13.3

### TP_ANSI_BG_WHITE

    #define TP_ANSI_BG_WHITE   "\x1b[47m"

### Warning

`TP_ANSI_BG_WHITE` is deprecated and should not be used in newly-written code. 0.13.3