ekg/debug.h File Reference

Go to the source code of this file.

Defines

#define debug_io(args...)   debug_ext(DEBUG_IO, args)
#define debug_iorecv(args...)   debug_ext(DEBUG_IORECV, args)
#define debug_function(args...)   debug_ext(DEBUG_FUNCTION, args)
#define debug_error(args...)   debug_ext(DEBUG_ERROR, args)
#define debug_white(args...)   debug_ext(DEBUG_WHITE, args)
#define debug_warn(args...)   debug_ext(DEBUG_WARN, args)
#define debug_ok(args...)   debug_ext(DEBUG_OK, args)
#define debug_wtf(args...)   debug_ext(DEBUG_WTF, args)

Enumerations

enum  debug_level_t {
  DEBUG_IO = 1, DEBUG_IORECV, DEBUG_FUNCTION, DEBUG_ERROR,
  DEBUG_GGMISC, DEBUG_WHITE, DEBUG_WARN, DEBUG_OK,
  DEBUG_WTF
}

Functions

void debug (const char *format,...)
void debug_ext (debug_level_t level, const char *format,...)


Define Documentation

#define debug_error ( args...   )     debug_ext(DEBUG_ERROR, args)

#define debug_function ( args...   )     debug_ext(DEBUG_FUNCTION, args)

#define debug_io ( args...   )     debug_ext(DEBUG_IO, args)

#define debug_iorecv ( args...   )     debug_ext(DEBUG_IORECV, args)

#define debug_ok ( args...   )     debug_ext(DEBUG_OK, args)

#define debug_warn ( args...   )     debug_ext(DEBUG_WARN, args)

#define debug_white ( args...   )     debug_ext(DEBUG_WHITE, args)

#define debug_wtf ( args...   )     debug_ext(DEBUG_WTF, args)


Enumeration Type Documentation

enum debug_level_t

Enumerator:
DEBUG_IO 
DEBUG_IORECV 
DEBUG_FUNCTION 
DEBUG_ERROR 
DEBUG_GGMISC 
DEBUG_WHITE 
DEBUG_WARN 
DEBUG_OK 
DEBUG_WTF 


Function Documentation

void debug ( const char *  format,
  ... 
)

void debug_ext ( debug_level_t  level,
const char *  format,
  ... 
)


Generated on Sat Nov 22 22:30:43 2008 for ekg2 by  doxygen 1.5.1