Go to the documentation of this file. 34 #define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) 37 #define debugPrint(x) do { \ 39 std::cout << "\033[1;32m" << x; \ 42 #define debugPrint(x) do {} while (0) 46 #define debugPrintTrace(x) do { \ 48 std::cout << "\033[1;33m" << \ 49 "[Dbg] [" << __FILENAME__ << ":" << __LINE__ << ":" << __func__ << "] " << \ 53 #define debugPrintTrace(x) do {} while (0) 57 #define errorPrintTrace(x) do { \ 59 std::cerr << "\033[1;31m" << \ 60 "[Err] [" << __FILENAME__ << ":" << __LINE__ << ":" << __func__ << "] " << \ 64 #define errorPrintTrace(x) do {} while (0)