Iyengar111 / NanoLog

Low Latency C++11 Logging Library
727 stars 186 forks source link

Add an setting to append to the existing log file #25

Open xirius opened 7 years ago

xirius commented 7 years ago

Hi, It would be nice to have an "append" setting to the nanolog::initialize. Currently the file is just truncated on initialization. The problem is when one uses supervisor and if application crashes, supervisor restarts it and all the previous logs get lost.