Rework logger

This commit is contained in:
Antoine Pilote
2023-07-21 22:25:17 -04:00
parent 46a531fd7d
commit e4119c0d15
26 changed files with 127 additions and 97 deletions

View File

@@ -142,11 +142,11 @@ namespace Nuake
std::string sceneContent = FileSystem::ReadFile(scenePath, false);
if (!DefaultScene->Deserialize(sceneContent))
{
Logger::Log("Error loading scene: " + scenePath, CRITICAL);
Logger::Log("Error loading scene: " + scenePath, "project", CRITICAL);
}
DefaultScene->Path = scenePath;
Logger::Log("Successfully loaded scene: " + scenePath);
Logger::Log("Loaded scene: " + scenePath);
return true; // Success
}