Log rotation in std.logger.filelogger

apz28 home at home.com
Tue May 23 11:21:07 UTC 2023


On Wednesday, 17 May 2023 at 21:11:41 UTC, Vitalii wrote:
> Hello!
>
> Please tell me how to enable log rotation in 
> std.logger.filelogger? Without log rotation, it seems that the 
> std.logger.filelogger is useless, because it will quickly take 
> up all the free space on the hard drive.
>

Or can try my log package
https://github.com/apz28/dlang/tree/main
https://github.com/apz28/dlang/tree/main/source/pham/external/std/log

log_logger.d
RollingFileLogger

Happy coding!



More information about the Digitalmars-d-learn mailing list