Switched to a custom logging lib instead of that spdlog junk

This commit is contained in:
AlexandreRouma
2023-02-25 18:12:34 +01:00
parent 7e80bbd02c
commit 7723d15e8f
154 changed files with 723 additions and 19918 deletions

View File

@ -2,7 +2,7 @@
#include <imgui.h>
#include <imgui_internal.h>
#include <config.h>
#include <spdlog/spdlog.h>
#include <utils/flog.h>
#include <filesystem>
namespace style {
@ -22,7 +22,7 @@ namespace style {
bool loadFonts(std::string resDir) {
ImFontAtlas* fonts = ImGui::GetIO().Fonts;
if (!std::filesystem::is_directory(resDir)) {
spdlog::error("Invalid resource directory: {0}", resDir);
flog::error("Invalid resource directory: {0}", resDir);
return false;
}