|
|
@ -13,8 +13,9 @@ struct X { |
|
|
|
#endif |
|
|
|
}; |
|
|
|
|
|
|
|
#define DEBUG (X(), std::cout << "DEBUG[" << __FILE__ << ":" << __LINE__ << " in " << __func__ << "()]: ") |
|
|
|
#define WARN (X(), std::cout << "WARN [" << __FILE__ << ":" << __LINE__ << " in " << __func__ << "()]: ") |
|
|
|
|
|
|
|
#define DEBUG (X(), std::cout << "DEBUG[" << __FILENAME__ << ":" << __LINE__ << " in " << __func__ << "()]: ") |
|
|
|
#define WARN (X(), std::cout << "WARN [" << __FILENAME__ << ":" << __LINE__ << " in " << __func__ << "()]: ") |
|
|
|
|
|
|
|
#ifdef LOG_DEBUG |
|
|
|
#define STEP \ |
|
|
|