Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of httpServer-orgel by
hl_debug.h@0:e59cc54df17c, 2015-06-29 (annotated)
- Committer:
 - hjjeon
 - Date:
 - Mon Jun 29 09:03:40 2015 +0000
 - Revision:
 - 0:e59cc54df17c
 
httpServer
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| hjjeon | 0:e59cc54df17c | 1 | #ifndef __DEBUG_H__ | 
| hjjeon | 0:e59cc54df17c | 2 | #define __DEBUG_H__ | 
| hjjeon | 0:e59cc54df17c | 3 | |
| hjjeon | 0:e59cc54df17c | 4 | |
| hjjeon | 0:e59cc54df17c | 5 | #ifdef DEBUG | 
| hjjeon | 0:e59cc54df17c | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); | 
| hjjeon | 0:e59cc54df17c | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); | 
| hjjeon | 0:e59cc54df17c | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); | 
| hjjeon | 0:e59cc54df17c | 9 | #else | 
| hjjeon | 0:e59cc54df17c | 10 | #define INFO(x, ...) | 
| hjjeon | 0:e59cc54df17c | 11 | #define WARN(x, ...) | 
| hjjeon | 0:e59cc54df17c | 12 | #define ERR(x, ...) | 
| hjjeon | 0:e59cc54df17c | 13 | #endif | 
| hjjeon | 0:e59cc54df17c | 14 | |
| hjjeon | 0:e59cc54df17c | 15 | |
| hjjeon | 0:e59cc54df17c | 16 | #endif // __DEBUG_H__#ifndef __DEBUG_H__ | 
