Brett 2023-02-13 21:48:13 -05:00
parent e50cc74bf3
commit a196a2aa7d
1 changed files with 1 additions and 1 deletions

View File

@ -50,9 +50,9 @@ namespace blt::logging {
if (currentLines > MAX_LINES){ if (currentLines > MAX_LINES){
output->flush(); output->flush();
output->close(); output->close();
delete(output);
currentLines = 0; currentLines = 0;
auto currentTime = system::getTimeStringFS(); auto currentTime = system::getTimeStringFS();
delete(output);
output = new std::fstream(m_path + currentTime + ".log"); output = new std::fstream(m_path + currentTime + ".log");
} }
} }