Sam Kirsch / HTTPServerExample

Dependents:   HTTP-RPCServerExample

Fork of HTTPServer by Henry Leinen

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers hl_debug.h Source File

hl_debug.h

00001 #ifndef __DEBUG_H__
00002 #define __DEBUG_H__
00003 
00004 /* Commenting out Debuging
00005 #ifdef DEBUG
00006 #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
00007 #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
00008 #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
00009 #else
00010 */
00011 #define INFO(x, ...)
00012 #define WARN(x, ...)
00013 #define ERR(x, ...)
00014 //#endif
00015 
00016 
00017 #endif //   __DEBUG_H__#ifndef __DEBUG_H__