libki/include/ki/util/trace.h

9 lines
143 B
C++

#pragma once
#include <iostream>
#if defined(NDEBUG)
#define TRACE if (0) std::cout
#else
#define TRACE if (1) std::cout << "[TRACE] "
#endif