debug.h y endpointwidget

This commit is contained in:
Hane 2023-02-15 10:17:59 +01:00
commit 9c6563a394
9 changed files with 121 additions and 30 deletions

10
src/debug.h Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#if defined (QT_DEBUG) || defined (DEBUG) || defined (_DEBUG)
#define log_debugcpp(str) do { \
std::cout << "[DEBUG]" << "(" << __FILE__ << ":" << __LINE__ << "): " << str << std::endl; \
} while (0)
#else
#define log_debugcpp(str)
#endif