afegit el namespace Logger

This commit is contained in:
2025-10-19 18:10:55 +02:00
parent df6e7e5155
commit 413c3c30a6
17 changed files with 107 additions and 96 deletions

View File

@@ -7,6 +7,7 @@
#include <memory> // Para shared_ptr, __shared_ptr_access, allocator, operator==, make_shared
#include <unordered_map> // Para unordered_map, operator==, _Node_iterator_base, _Node_iterator, _Node_const_iterator
#include <utility> // Para pair, move
#include "ui/logger.hpp"
// Singleton
Input* Input::instance = nullptr;
@@ -318,7 +319,7 @@ void Input::initSDLGamePad() {
addGamepadMappingsFromFile();
loadGamepadConfigs();
discoverGamepads();
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "** Input System initialized successfully\n");
Logger::info("Input System initialized successfully");
}
}
}