core: fix git support

This commit is contained in:
Vaxry committed 2025-04-13 15:28:37 +01:00
1 parent 6e47605085
commit 9b3fd6efac
4 files changed
+49 -22

No files matched your search

+4
View File
@@ -2,6 +2,7 @@
#include <string>
#include <fmt/format.h>
#include <iostream>
#include "../config/Config.hpp"
enum LogLevel {
NONE = -1,
@@ -19,6 +20,9 @@ namespace Debug {
std::string logMsg = "";
if (g_pConfig && !g_pConfig->m_config.trace_logging && level == TRACE)
return;
switch (level) {
case LOG: logMsg += "[LOG] "; break;
case WARN: logMsg += "[WARN] "; break;