aboutsummaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorPjotr Prins2020-10-04 08:28:40 +0100
committerPjotr Prins2020-10-04 08:28:40 +0100
commita81267c8c2a3928f427e07ebb1b324603b27b173 (patch)
treeaedbfe9306669d824222b1078ad21df1c2e45bae /src/debug.h
parent40a9d521f4ecc9d4762a5f8c1953ec5f321755f0 (diff)
downloadpangemma-a81267c8c2a3928f427e07ebb1b324603b27b173.tar.gz
Silence means silent!
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h2
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