aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-08-12 12:36:29 +0000
committer_ov4 <ov4@ov4.org>2026-08-12 12:36:29 +0000
commit049686036731edead73f35692c4cf6005e0a3c85 (patch)
treec3a8218c1a5f09c73f0d1dea001f4633eb92fbf5 /util.h
parent1caf88d333dd6a2b0aff719994dd6c47708c0c76 (diff)
logger
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index a7f06ba..0f5d153 100644
--- a/util.h
+++ b/util.h
@@ -13,6 +13,8 @@
#include <vector>
#include <string>
+#define LOG !(ov4::GLOBAL_DEBUG && ov4::DEBUG) ? (void)0 : ov4::LogVoidify() & std::clog
+
namespace ov4 {
void atomic_print(char *s);