mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- more tweaking of threaded logging as well as removal of world synch logging items that are not needed
This commit is contained in:
@@ -206,6 +206,10 @@ void LogFileThread::addLogEntry(SystemFlags::DebugType type, string logEntry) {
|
||||
entry.entry = logEntry;
|
||||
entry.entryDateTime = time(NULL);
|
||||
logList.push_back(entry);
|
||||
|
||||
if(logList.size() >= 100000) {
|
||||
saveToDisk(false);
|
||||
}
|
||||
}
|
||||
|
||||
bool LogFileThread::checkSaveCurrentLogBufferToDisk() {
|
||||
|
Reference in New Issue
Block a user