v0.5.0 Release Notes
Released
Fixed
- Fix file descriptor leak issue
- Fix actionErr variable redeclaration
- Fix thread safety race conditions
- Fix empty message validation logic
- Fix file rotation error handling
- Fix closed logger state checking
Features
- Add
LogStdoutto Init config, support to disable std output with false - Add file size limit and automatic rotation
- Add
Close()resource management method - Add
Flush()force sync method
Adjusted
- Add microsecond precision to timestamps
- Change error handling to use fmt.Errorf wrapping