ayo we found the asmforce
This commit is contained in:
parent
2e9d3e51cd
commit
4f4abbec47
5 changed files with 50 additions and 0 deletions
10
src/debug.h
Normal file
10
src/debug.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue