dbg 3 LCM Library
dbg

## Synopsis

    #define             DBG_MODE                            (x)
    #define             DBG_ALL
    #define             DBG_ERROR
    #define             DBG_DEFAULT
    #define             DBG_TEST
    #define             DBG_LCM
    #define             DBG_LCM_MSG
    #define             DBG_MAIN
    #define             DBG_5
    #define             DBG_6
    #define             DBG_7
    #define             DBG_8
    #define             DBG_9
    #define             DBG_10
    #define             DBG_11
    #define             DBG_12
    #define             DBG_13
    #define             DBG_14
    #define             DBG_15
    #define             DBG_16
    #define             DBG_NAMETAB
    #define             DBG_COLORTAB
                        dbg_mode_t;
                        dbg_mode_color_t;
    const char*         DCOLOR                              ();
    #define             dbg                                 (mode, args...)
    #define             dbg_active                          (mode)
    #define             cdbg                                (mode,color,dtag,arg)
    #define             cprintf                             (color, args...)

## Description

## Details

### DBG_MODE()

    #define DBG_MODE(x) (1ULL << (x))

x :

DBG_MODE

### DBG_ALL

    #define DBG_ALL     (~0ULL)

DBG_ALL

### DBG_ERROR

    #define DBG_ERROR   DBG_MODE(0)

DBG_ERROR

### DBG_DEFAULT

    #define DBG_DEFAULT DBG_ERROR

DBG_DEFAULT

### DBG_TEST

    #define DBG_TEST    DBG_MODE(1) /* foo */

DBG_TEST

### DBG_LCM

    #define DBG_LCM      DBG_MODE(2)

DBG_LCM

### DBG_LCM_MSG

    #define DBG_LCM_MSG  DBG_MODE(3)

DBG_LCM_MSG

### DBG_MAIN

    #define DBG_MAIN    DBG_MODE(4)

DBG_MAIN

### DBG_5

    #define DBG_5       DBG_MODE(5)

DBG_5

### DBG_6

    #define DBG_6       DBG_MODE(6)

DBG_6

### DBG_7

    #define DBG_7       DBG_MODE(7)

DBG_7

### DBG_8

    #define DBG_8       DBG_MODE(8)

DBG_8

### DBG_9

    #define DBG_9       DBG_MODE(9)

DBG_9

### DBG_10

    #define DBG_10      DBG_MODE(10)

DBG_10

### DBG_11

    #define DBG_11      DBG_MODE(11)

DBG_11

### DBG_12

    #define DBG_12      DBG_MODE(12)

DBG_12

### DBG_13

    #define DBG_13      DBG_MODE(13)

DBG_13

### DBG_14

    #define DBG_14      DBG_MODE(14)

DBG_14

### DBG_15

    #define DBG_15      DBG_MODE(15)

DBG_15

### DBG_16

    #define DBG_16      DBG_MODE(16)

DBG_16

### DBG_NAMETAB

    #define             DBG_NAMETAB

DBG_NAMETAB

### DBG_COLORTAB

    #define             DBG_COLORTAB

DBG_COLORTAB

### dbg_mode_t

    typedef struct {
        const char *d_name;
        unsigned long long d_mode;
    } dbg_mode_t;

dbg_mode_t

### dbg_mode_color_t

    typedef struct {
        unsigned long long d_mode;
        const char *color;
    } dbg_mode_color_t;

dbg_mode_color_t

### DCOLOR ()

    const char*         DCOLOR                              ();

Returns :

DCOLOR

### dbg()

    #define             dbg(mode, args...)

mode :

args... :

dbg

### dbg_active()

    #define             dbg_active(mode)

mode :

dbg_active

### cdbg()

    #define cdbg(mode,color,dtag,arg)

mode :

color :

dtag :

arg :

cdbg

### cprintf()

    #define             cprintf(color, args...)

color :

args... :

cprintf