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)...); }