v1
parent
e50cc74bf3
commit
a196a2aa7d
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue