Package rotatelogs is a port of File-RotateLogs from Perl, allowing automatic rotation of output files based on a filename pattern.
go get github.com/lestrrat-go/file-rotatelogsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a rotating log writer and sets it as the log output.
Check the release notes for breaking changes when upgrading from v1.
No dependency data recorded yet.