Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: LogHeader.h
- Revision:
- 2:ea883307d02f
- Child:
- 14:d7bf58146337
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LogHeader.h Wed Aug 22 13:27:34 2012 +0000 @@ -0,0 +1,9 @@ +#pragma once +#define LOGGER +#ifdef LOGGER + #define LOG(...) { fprintf(stdout,"[LOG] "); fprintf(stdout,__VA_ARGS__); fprintf(stdout,"\r\n"); } + #define LOGX(...) { fprintf(stdout,"[LOG] "); fprintf(stdout,__VA_ARGS__) } +#else + #define LOG(...) + #define LOGX(...) +#endif \ No newline at end of file