Lens AI Profiler Cpp
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
datatracer_log.h
1 #ifndef DATA_TRACER_LOG_H
2 #define DATA_TRACER_LOG_H
3 
4 #include <iostream>
5 
6 #define log_err std::cerr << "ERROR: " << __func__ << ": "
7 #define log_info std::cout << "INFO: " << __func__ << ": "
8 #if DEBUG
9  #define log_debug std::cout << "DEBUG: " << __func__ << ": "
10 #else
11  #define log_debug if (0) std::cout
12 #endif
13 
14 #endif // DATA_TRACER_LOG_H