When using loguru on Windows with#define LOGURU_WITH_FILEABS 1, logrotate cannot be used to manage the growing file size. This is because files opened with _fsopen cannot be used by logrotate while the process is still running. I made some modifications to solve this issue and conducted some tests.
When using loguru on Windows with
#define LOGURU_WITH_FILEABS 1
,logrotate
cannot be used to manage the growing file size. This is because files opened with _fsopen cannot be used by logrotate while the process is still running. I made some modifications to solve this issue and conducted some tests.