mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-27 15:02:06 +00:00
chore: update all logging to use centralized logging component
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Parsing/Impl/ParserMultiInputStream.h"
|
||||
#include "Parsing/Impl/ParserSingleInputStream.h"
|
||||
#include "StructuredDataDef/Parsing/StructuredDataDefParser.h"
|
||||
#include "Utils/Logging/Log.h"
|
||||
|
||||
#include <format>
|
||||
#include <iostream>
|
||||
@@ -54,7 +55,7 @@ std::vector<std::unique_ptr<CommonStructuredDataDef>> StructuredDataDefReader::R
|
||||
if (success)
|
||||
return parser->GetDefs();
|
||||
|
||||
std::cerr << std::format("Parsing structured data def file \"{}\" failed!\n", m_file_name);
|
||||
con::error("Parsing structured data def file \"{}\" failed!", m_file_name);
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user