diff options
author | Pjotr Prins | 2020-10-04 08:28:40 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-10-04 08:28:40 +0100 |
commit | a81267c8c2a3928f427e07ebb1b324603b27b173 (patch) | |
tree | aedbfe9306669d824222b1078ad21df1c2e45bae /src/debug.h | |
parent | 40a9d521f4ecc9d4762a5f8c1953ec5f321755f0 (diff) | |
download | pangemma-a81267c8c2a3928f427e07ebb1b324603b27b173.tar.gz |
Silence means silent!
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index 25ba673..ff22756 100644 --- a/src/debug.h +++ b/src/debug.h @@ -118,7 +118,7 @@ inline void fail_msg(std::string msg) { std::raise(SIGINT); // keep stack trace for gdb } -#define info_msg(msg) cerr << "**** INFO: " << msg << "." << endl; +#define info_msg(msg) if (!is_quiet_mode()) cerr << "**** INFO: " << msg << "." << endl; #define msg(msg) info_msg(msg); #if defined NDEBUG |