Manually trigger fsync to write buffer to disk
Christian-e-S opened this issue · 0 comments
Christian-e-S commented
Dear All,
we think about using zlog in an IoT scenario. The idea is that we want to sent a log file to the cloud whenever an error of a given severity has occurred. In order to make sure that the log with the error is already included in the file, we would like to manually trigger fsync before we are sending the file to the cloud.
Is this possible with zlog?