summaryrefslogtreecommitdiff
path: root/utils/verbose.h
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-20 18:50:30 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-20 18:50:30 +0000
commit46d6e1fd3dbe0bc116a46fdab91b40fe2ecd6803 (patch)
tree9caca4c1878a58b183e214ecf4caa225987bc8e7 /utils/verbose.h
parentcf36f7d66ad19331da109f5a81ea3ea5844deb1c (diff)
support turning off verbose logging
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@652 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/verbose.h')
-rw-r--r--utils/verbose.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/verbose.h b/utils/verbose.h
new file mode 100644
index 00000000..73476383
--- /dev/null
+++ b/utils/verbose.h
@@ -0,0 +1,8 @@
+#ifndef _VERBOSE_H_
+#define _VERBOSE_H_
+
+extern bool SILENT;
+
+inline void SetSilent(bool s) { SILENT = s; }
+
+#endif