Replacing a few std::cout with spdlog::info/error

This commit is contained in:
2023-05-09 19:36:34 +02:00
parent 52747202d3
commit 43fc721413
9 changed files with 24 additions and 24 deletions

View File

@ -9,7 +9,7 @@ class Project {
public:
Project() = default;
Project(const std::string& name): Name(name){}
~Project() { std::cout << "Unloading project..." << Name << std::endl; }
~Project() { spdlog::info("Unloading project {0}...", Name);}
void setName(std::string& name) { Name = name; }
const std::string& GetName()const { return Name; }