Files
nixpkgs/pkgs/by-name/st/steamworks/1001-Add-missing-logger-methods.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

27 lines
679 B
Diff

From 5f144d5d26ea0dd1754ed25a583ebafa01ecbb4b Mon Sep 17 00:00:00 2001
From: OPNA2608 <opna2608@protonmail.com>
Date: Sun, 3 Aug 2025 20:06:49 +0200
Subject: [PATCH] src/common/logger.h: Add missing methods under NDEBUG
---
src/common/logger.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/common/logger.h b/src/common/logger.h
index 0901205..259f058 100644
--- a/src/common/logger.h
+++ b/src/common/logger.h
@@ -81,6 +81,9 @@ public:
LoggerStream& getStream(int level) { return stream; }
void debug(...) {}
+ void warn(...) {}
+
+ bool isDebugEnabled() { return false; }
};
// Bogus level numbers; I don't know if these are compatible with
--
2.50.1