Releases: rifflock/lfshook
Releases · rifflock/lfshook
Fix race condition
Merged in #38 from @mosca1337 which fixes a race condition between the setters and fire.
Update README
Add default writer/path
Thanks to @RadhiFadlillah for his additions in #25
- Allows for default path/writer for all outputs
- Fixes issue with color formatter
- Updates README
Updated Readme
Merge pull request #28 from reidrac/update-readme-2.0 Updated README to match 2.0 release
Add formatter to constructor
You are now required to pass your desired formatter (or nil for default) to the constructor.
This IS a breaking change as the constructor signature has changed and is not backwards compatible.
Switch back to v format
Sirupsen to sirupsen
Going through and correcting all old releases to v and correct commit.
Fix rotate logs
Going through and fixing all releases for proper versioning.
Logrotation
By popular demand! Log rotation for lfshook. Thanks to @mariussturm for the changes.
Pass a map of io.Writer
instead of String
and your logs will be rotated. See the README for information.
v1.2 Formatter Fixes
- Merged in a fix from @mattrgreen supporting non-TextFormatter type formatters that broke in v1.1
- Merged in a documentation change from @chris-garrett reminding users to have proper file permissions