2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-24 13:42:06 +00:00

chore: update all logging to use centralized logging component

This commit is contained in:
Jan Laupetin
2025-09-10 19:52:42 +02:00
parent 1bf4033f41
commit 02f20f09b6
161 changed files with 824 additions and 664 deletions

View File

@@ -3,6 +3,7 @@
#include "Internal/GltfAccessor.h"
#include "Internal/GltfBuffer.h"
#include "Internal/GltfBufferView.h"
#include "Utils/Logging/Log.h"
#pragma warning(push, 0)
#include <Eigen>
@@ -798,7 +799,7 @@ namespace
}
catch (const nlohmann::json::exception& e)
{
std::cerr << std::format("Failed to parse GLTF JSON: {}\n", e.what());
con::error("Failed to parse GLTF JSON: {}", e.what());
return nullptr;
}
@@ -818,7 +819,7 @@ namespace
}
catch (const GltfLoadException& e)
{
std::cerr << std::format("Failed to load GLTF: {}\n", e.Str());
con::error("Failed to load GLTF: {}", e.Str());
return nullptr;
}
}