mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-24 09:16:39 +00:00
chore: update all logging to use centralized logging component
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "SequenceZoneDefinitionMetaData.h"
|
||||
|
||||
#include "Utils/Logging/Log.h"
|
||||
#include "Utils/StringUtils.h"
|
||||
#include "Zone/Definition/Parsing/Matcher/ZoneDefinitionMatcherFactory.h"
|
||||
|
||||
@@ -112,11 +113,11 @@ namespace
|
||||
}
|
||||
|
||||
const auto keyPos = keyToken.GetPos();
|
||||
std::cerr << std::format("Warning: {} L{}: Zone definition \">type,{}\" is deprecated and should be removed. {}\n",
|
||||
keyPos.m_filename.get(),
|
||||
keyPos.m_line,
|
||||
keyToken.FieldValue(),
|
||||
deprecationSuggestedAction);
|
||||
con::error("Warning: {} L{}: Zone definition \">type,{}\" is deprecated and should be removed. {}",
|
||||
keyPos.m_filename.get(),
|
||||
keyPos.m_line,
|
||||
keyToken.FieldValue(),
|
||||
deprecationSuggestedAction);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
Reference in New Issue
Block a user