nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 26 lines 679 B view raw
1From 5f144d5d26ea0dd1754ed25a583ebafa01ecbb4b Mon Sep 17 00:00:00 2001 2From: OPNA2608 <opna2608@protonmail.com> 3Date: Sun, 3 Aug 2025 20:06:49 +0200 4Subject: [PATCH] src/common/logger.h: Add missing methods under NDEBUG 5 6--- 7 src/common/logger.h | 3 +++ 8 1 file changed, 3 insertions(+) 9 10diff --git a/src/common/logger.h b/src/common/logger.h 11index 0901205..259f058 100644 12--- a/src/common/logger.h 13+++ b/src/common/logger.h 14@@ -81,6 +81,9 @@ public: 15 LoggerStream& getStream(int level) { return stream; } 16 17 void debug(...) {} 18+ void warn(...) {} 19+ 20+ bool isDebugEnabled() { return false; } 21 }; 22 23 // Bogus level numbers; I don't know if these are compatible with 24-- 252.50.1 26