s1rius / ezlog

A cross-platform file logging library
https://s1rius.github.io/ezlog
Apache License 2.0
85 stars 3 forks source link

add create time info to file header. #38

Closed s1rius closed 1 year ago

s1rius commented 1 year ago

before this, mmap file name is base on date, the bad is, if crash happen before 24 o'clock, Process restart after 0 o'clock, the file name changed, and the log data lost.