From 77a8c5bbfc6e9d29517e58116b9e16fb2412e9b0 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Mon, 7 Jul 2025 03:01:39 +0200 Subject: [PATCH] fix first debug log messages being dropped --- include/utils/log.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/utils/log.hpp b/include/utils/log.hpp index f85649e..0c29623 100644 --- a/include/utils/log.hpp +++ b/include/utils/log.hpp @@ -64,6 +64,7 @@ void debug(std::string_view, std::format_string, Args&&...) {} // NOLIN #else template void debug(std::string_view module, std::format_string fmt, Args&&... args) { + Internal::setup(); if (Internal::debugAllModules || Internal::debugModules.contains(std::string(module))) log(GRAY, module, fmt, std::forward(args)...); }