mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-04-26 12:21:43 +00:00
fix first debug log messages being dropped
This commit is contained in:
parent
a9452ab198
commit
77a8c5bbfc
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ void debug(std::string_view, std::format_string<Args...>, Args&&...) {} // NOLIN
|
|||
#else
|
||||
template<typename... Args>
|
||||
void debug(std::string_view module, std::format_string<Args...> fmt, Args&&... args) {
|
||||
Internal::setup();
|
||||
if (Internal::debugAllModules || Internal::debugModules.contains(std::string(module)))
|
||||
log(GRAY, module, fmt, std::forward<Args>(args)...);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue