🔁 Rotation Logic
A new log file is created when either condition is met:
currentEntries >= maxEntriesDate.now() - lastRotationTime >= rotationIntervalMs
Files are named automatically:
1log_0.json2log_1.json3log_2.json4...
A new log file is created when either condition is met:
currentEntries >= maxEntriesDate.now() - lastRotationTime >= rotationIntervalMsFiles are named automatically:
1log_0.json2log_1.json3log_2.json4...