aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-08-12 14:06:28 +0000
committer_ov4 <ov4@ov4.org>2026-08-12 14:06:28 +0000
commitc97a162e8c60aa20a1de02cd828db8f35bd53085 (patch)
treed64c60faa921eb469488c835a8eab0836b424a61 /util.h
parent8f0464de722ae5007915e9db56d4dca806b01f7f (diff)
bg/fg
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/util.h b/util.h
index 9d939f9..072f65e 100644
--- a/util.h
+++ b/util.h
@@ -22,8 +22,9 @@ void atomic_print(int x);
void reverse(char str[], int length);
char* itoa(int num, char* str, int base);
-constexpr bool GLOBAL_DEBUG = false;
-bool DEBUG = false; // verbose mode
+constexpr bool GLOBAL_DEBUG = true;
+bool DEBUG = true; // verbose mode, can be enabled on demand using something like -v
+struct LogVoidify { void operator&(std::ostream&) const {} };
const int DECIMAL = 10;
const int LENGTH = 20;