Releases: lestrrat-go/file-rotatelogs
Releases · lestrrat-go/file-rotatelogs
v2.4.0
v2.4.0 - 8 Sep 2020
* Add WithRotationSize option to specify log ration when
a certain file size is reached. (NOTE: this does not guarantee
that the file size is exactly the size specified, but that it
*exceeds* the specified size)
v2.3.0
Merge pull request #39 from bobmcn/hotfix/force-new-file
Add an option to New that will always create a new file.
v2.2.0
- Added RotationCount
- When files are rotated and the name of the new file clashes, we will attempt to create a unique name
- Semantics of WithLocation was wrong, because time.Truncate worked its magic in UTC time.
- Added Handler, and FileRotatedEvent