pcshareMgr/inc/logging.h File Reference
Go to the source code of this file.
|
Defines |
| #define | DL_DISPLAY_ON 0 |
| #define | DL_LOGGING_ON 0 |
| #define | DL_MESSAGE_ON 1 |
| #define | DL_WARNING_ON 1 |
| #define | DL_ERROR_ON 1 |
| #define | DL_DMPRINTF(x, args...) do {} while (0) |
| #define | DL_LOGPRINTF(x, args...) do {} while (0) |
| #define | DL_MSGPRINTF(x, args...) fprintf(stderr, "(M)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |
| #define | DL_WARNPRINTF(x, args...) fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |
| #define | DL_ERRORPRINTF(x, args...) fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |
Define Documentation
| #define DL_DMPRINTF |
( |
x, |
|
|
args... |
|
) |
do {} while (0) |
| #define DL_ERRORPRINTF |
( |
x, |
|
|
args... |
|
) |
fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |
| #define DL_LOGPRINTF |
( |
x, |
|
|
args... |
|
) |
do {} while (0) |
| #define DL_MSGPRINTF |
( |
x, |
|
|
args... |
|
) |
fprintf(stderr, "(M)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |
| #define DL_WARNPRINTF |
( |
x, |
|
|
args... |
|
) |
fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args) |