Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
LogHeader.h
- Committer:
- ashleymills
- Date:
- 2012-09-17
- Revision:
- 44:6d0ac4747f5b
- Parent:
- 14:d7bf58146337
- Child:
- 53:54b2d3a0c7bf
File content as of revision 44:6d0ac4747f5b:
#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