Skip to content

Releases: rifflock/lfshook

Fix race condition

20 Sep 16:42
b9218ef
Compare
Choose a tag to compare

Merged in #38 from @mosca1337 which fixes a race condition between the setters and fire.

Update README

27 Feb 22:23
Compare
Choose a tag to compare

#30 fix log rotate info
#31 Fix missing instantiation in example
Fix typo

Add default writer/path

19 Dec 15:32
1fdc019
Compare
Choose a tag to compare

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

12 Dec 20:18
1e68690
Compare
Choose a tag to compare
Merge pull request #28 from reidrac/update-readme-2.0

Updated README to match 2.0 release

Add formatter to constructor

06 Dec 23:29
765177c
Compare
Choose a tag to compare

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

12 Dec 20:11
Compare
Choose a tag to compare

Going through and correcting all old releases to v and correct commit.

Fix rotate logs

12 Dec 20:12
Compare
Choose a tag to compare

Going through and fixing all releases for proper versioning.

Logrotation

16 Dec 15:03
Compare
Choose a tag to compare

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

09 Sep 04:35
Compare
Choose a tag to compare
  • 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

v1.1

27 Jul 07:02
Compare
Choose a tag to compare
  • Added mutex support from @gonotes
  • Removed colors when writing to file from @marconi