
#ifndef __DEBUG_H__
#define __DEBUG_H__


#ifdef NDEBUG
#define LOG(message)
#define LOGN(message)
#else
#define LOG(message) { std::cout << message << std::endl; }
#define LOGN(message) { std::cout << message; }
#endif

#define ERR(message) { std::cerr << "ERR: " << message << std::endl; exit(0); }

#endif //ifdef
