source:
rtos_arduino/trunk/arduino_lib/libraries/pubsubclient-2.6/tests/src/lib/trace.h@
209
Last change on this file since 209 was 209, checked in by , 8 years ago | |
---|---|
File size: 204 bytes |
Line | |
---|---|
1 | #ifndef trace_h |
2 | #define trace_h |
3 | #include <iostream> |
4 | |
5 | #include <stdlib.h> |
6 | |
7 | #define LOG(x) {std::cout << x << std::flush; } |
8 | #define TRACE(x) {if (getenv("TRACE")) { std::cout << x << std::flush; }} |
9 | |
10 | #endif |
Note:
See TracBrowser
for help on using the repository browser.