diff options
author | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
commit | cdf407bd7994dbe41a952bf29cacc1a2ca9c722e (patch) | |
tree | 1bd91f84684d556505ca930ecc73ceacbb1ce8ca /src/debug.h | |
parent | 6dd15bfabc5c655d18ea19c0d69b76ecc34630e2 (diff) | |
download | pangemma-cdf407bd7994dbe41a952bf29cacc1a2ca9c722e.tar.gz |
More debugging and a performance check
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__ |