diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h index e83c813..a665a37 100644 --- a/src/debug.h +++ b/src/debug.h @@ -115,6 +115,9 @@ inline void fail_msg(std::string msg) { std::raise(SIGINT); // keep stack trace for gdb } +#define info_msg(msg) cerr << "**** INFO: " << msg << "." << endl; +#define msg(msg) info_msg(msg); + #if defined NDEBUG #define __SHOW_FUNC __func__ |