Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Releases: lestrrat-go/file-rotatelogs

v2.4.0

08 Sep 10:04
Compare
Choose a tag to compare
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

16 Jan 08:52
e0a88b0
Compare
Choose a tag to compare
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

07 Jun 09:48
3b4f34a
Compare
Choose a tag to compare
  • 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