This repository has been archived by the owner on Feb 13, 2025. It is now read-only.
Releases: gleich/lumber
Releases · gleich/lumber
Version 2.0.1
Change go mod to github.com/gleich/lumber/v2
Version 2.0.0
- 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
- Still, output error message even if stack trace is turned off.
Version v1.1.3
- Change owner to
gleich
Version v1.1.2
- Add
ShowStack
option
Version v1.1.1
- Allow users to turn off auto
err != nil
checks for Fatal and Error withlumber.ErrNilCheck
- Simple fixes to the documentation
v1.1.0
Initial Release
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!