Fixed extra new line in logger

This commit is contained in:
antopilo
2023-03-03 12:38:17 -05:00
parent d696b67378
commit bbafd0c4e0

View File

@@ -20,7 +20,7 @@ namespace Nuake
log
};
std::string msg = "[" + std::string(buff) + "]" + std::string(" - ") + log + "\n";
std::string msg = "[" + std::string(buff) + "]" + std::string(" - ") + log;
std::cout << msg << std::endl;
if (m_Logs.size() >= MAX_LOG)