2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-18 02:43:03 +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

@@ -1,6 +1,7 @@
#include "AccuracyGraphLoader.h"
#include "Parsing/Graph2D/Graph2DReader.h"
#include "Utils/Logging/Log.h"
#include <format>
#include <iostream>
@@ -13,7 +14,7 @@ namespace
const auto file = searchPath.Open(fileName);
if (!file.IsOpen())
{
std::cerr << std::format("Failed to open file for accuracy graph: {}/{}\n", subFolder, graphName);
con::error("Failed to open file for accuracy graph: {}/{}", subFolder, graphName);
return nullptr;
}