schrodebug

schrodebug —

Synopsis




#define     SCHRO_ERROR                     (...)
#define     SCHRO_WARNING                   (...)
#define     SCHRO_INFO                      (...)
#define     SCHRO_DEBUG                     (...)
#define     SCHRO_LOG                       (...)
#define     SCHRO_DEBUG_LEVEL               (level,...)
#define     SCHRO_MILD_ASSERT               (test)
#define     SCHRO_ASSERT                    (test)
void        schro_debug_log                 (int level,
                                             const char *file,
                                             const char *function,
                                             int line,
                                             const char *format,
                                             ...);
void        schro_debug_set_level           (int level);
int         schro_debug_get_level           (void);
void        schro_dump                      (int type,
                                             const char *format,
                                             ...);

Description

Details

SCHRO_ERROR()

#define     SCHRO_ERROR(...)

... :

SCHRO_WARNING()

#define     SCHRO_WARNING(...)

... :

SCHRO_INFO()

#define     SCHRO_INFO(...)

... :

SCHRO_DEBUG()

#define     SCHRO_DEBUG(...)

... :

SCHRO_LOG()

#define     SCHRO_LOG(...)

... :

SCHRO_DEBUG_LEVEL()

#define     SCHRO_DEBUG_LEVEL(level,...)

level :
... :

SCHRO_MILD_ASSERT()

#define     SCHRO_MILD_ASSERT(test)

test :

SCHRO_ASSERT()

#define     SCHRO_ASSERT(test)

test :

schro_debug_log ()

void        schro_debug_log                 (int level,
                                             const char *file,
                                             const char *function,
                                             int line,
                                             const char *format,
                                             ...);

level :
file :
function :
line :
format :
... :

schro_debug_set_level ()

void        schro_debug_set_level           (int level);

level :

schro_debug_get_level ()

int         schro_debug_get_level           (void);

Returns :

schro_dump ()

void        schro_dump                      (int type,
                                             const char *format,
                                             ...);

type :
format :
... :