Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

Releases: gleich/lumber

Version 2.0.1

24 Sep 15:05
7faa6fc
Compare
Choose a tag to compare

Change go mod to github.com/gleich/lumber/v2

Version 2.0.0

24 Sep 14:49
f5eafe5
Compare
Choose a tag to compare
  • Automatic err if nil has been phased out as it's an antipattern.
  • Logs are now single line. To get back to the multiline version please use the lumber.Multiline option.
  • WithTime functions have been phased out as they don't serve a purpose.
  • New examples are now provided

Version v1.1.4

29 Jul 21:04
a13b39f
Compare
Choose a tag to compare
  • Still, output error message even if stack trace is turned off.

Version v1.1.3

04 Jun 03:27
a6292a1
Compare
Choose a tag to compare
  • Change owner to gleich

Version v1.1.2

14 Apr 20:48
adc5488
Compare
Choose a tag to compare
  • Add ShowStack option

Version v1.1.1

19 Feb 04:33
7f70fbe
Compare
Choose a tag to compare
  • Allow users to turn off auto err != nil checks for Fatal and Error with lumber.ErrNilCheck
  • Simple fixes to the documentation

v1.1.0

17 Jan 03:12
957ca84
Compare
Choose a tag to compare
  • Removal of hook functions
  • Introduction of FatalMsg

Initial Release

16 Jan 22:55
Compare
Choose a tag to compare

Here are some of the core features:
🌈 256 or 16 bit color for quick identification of certain log types.
⏰ Custom and automatic timestamps.
🪝 Hooks! Run code before lumber log the error. Never write another if err != nil again!!
📄 Super clean and informative docs (thanks @safinsingh and @cjdenio for the feedback!)
🪵 Pass multiple items into a log which will automatically be separated with spaces.
🥞 Automatic stack traces for errors.
😵 Program exits automatically after fatal logs.
⚙️ Customize almost everything!