flush logs every 5 lines written
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 13 Nov 2024 10:54:36 +0000 (11:54 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 21 Nov 2024 11:06:06 +0000 (12:06 +0100)
commitfac4cedd2b982c3d47001dcbfb68f9a9ab11aeaa
treead2a67e2a515c9fc95b6fd555927634a272ff1fa
parentea94e4490dfed99fe7b28d81d3aea7b8ea7cab51
flush logs every 5 lines written

should help not loosing too much logs in case of a crash or similar not
nominal stop of the client

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/logger.cpp
src/libsync/logger.h