Cleaned up logging window

This commit is contained in:
Antoine Pilote
2024-07-23 18:36:15 -04:00
parent a350df5c54
commit fbc4ee1900
3 changed files with 16 additions and 11 deletions

View File

@@ -105,7 +105,7 @@ namespace Nuake
bool Project::Deserialize(const json& j)
{
Logger::Log("Starting deserializing project", "window", CRITICAL);
Logger::Log("Starting deserializing project", "window", VERBOSE);
if (!j.contains("Name") || !j.contains("Description"))
return false;
@@ -138,7 +138,7 @@ namespace Nuake
if (!FileSystem::FileExists(scenePath))
return true;
Logger::Log("Starting deserializing scene", "window", CRITICAL);
Logger::Log("Starting deserializing scene", "window", VERBOSE);
std::string sceneContent = FileSystem::ReadFile(scenePath, false);
if (!DefaultScene->Deserialize(nlohmann::json::parse(sceneContent)))
{