initial commit
This commit is contained in:
10
libraries/PubSubClient/tests/src/lib/trace.h
Normal file
10
libraries/PubSubClient/tests/src/lib/trace.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef trace_h
|
||||
#define trace_h
|
||||
#include <iostream>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LOG(x) {std::cout << x << std::flush; }
|
||||
#define TRACE(x) {if (getenv("TRACE")) { std::cout << x << std::flush; }}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user