feat(logging): integrate spdlog for enhanced logging and debugging

- Added spdlog dependency to `CMakeLists.txt`.
- Implemented a centralized `Logger` with file rotation and console output support.
- Added detailed logging across server, client, and game modules for improved traceability.
This commit is contained in:
Kieran Kihn
2025-12-11 22:47:33 +08:00
parent 11fc7cd74d
commit c2a57dba81
12 changed files with 220 additions and 34 deletions

View File

@@ -49,7 +49,7 @@ namespace UNO::UI {
for (auto color : GAME::AllColors) {
for (auto type : GAME::AllTypes) {
this->images_[{color, type}] =
slint::Image::load_from_path(std::format("../assets/cards/{}.svg", GAME::Card{color, type}.toString()).data());
slint::Image::load_from_path(std::format("assets/cards/{}.svg", GAME::Card{color, type}.toString()).data());
}
}
}