From fa074a23115636fdb5b52ad086e0b0a3c3a02880 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 24 May 2026 17:44:05 -0600 Subject: [PATCH] Disable STUB_LOG in release --- include/dusk/logging.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dusk/logging.h b/include/dusk/logging.h index 9b31b96bf2..938e494662 100644 --- a/include/dusk/logging.h +++ b/include/dusk/logging.h @@ -19,7 +19,11 @@ extern bool StubLogEnabled; extern aurora::Module DuskLog; +#ifndef NDEBUG #define STUB_LOG() DuskLog.debug("{} is a stub", __FUNCTION__) +#else +#define STUB_LOG() +#endif #if TARGET_PC #define STUB_RET(...) \