Repository navigation
v3.1.0 - Enhanced Context Support and Performance Improvements
β¨ New Features
- π§ Flexible Context Configuration: Added ContextKey method to AbsLogBuilder for configurable context key management
- π― Enhanced Logging Interface: Introduced LoggerAdapter for consistent logging across different implementations
β‘ Performance Improvements
- π Optimized Context Formatting: Implemented strings.Builder for more efficient context value formatting
- π Streamlined Operations: Combined context values with log messages in single operations for better performance
π οΈ Refactoring & Code Quality
- π Modern Go Syntax: Replaced interface{} with any for better consistency
- ποΈ Default Configuration: Added default values for context configuration with enhanced setter functions
- π§Ή Simplified API: Removed caller info and improved context value handling
π Documentation & Community
- π Enhanced README: Added output examples and clarified logger configuration methods
- π€ Contributing Guide: Added comprehensive guide to enhance community collaboration
- π Improved Documentation: Better package documentation with context support examples
π§ Dependencies & Maintenance
- β¬οΈ Updated Dependencies: Bumped go.uber.org/zap to v1.27.0
- ποΈ Cleanup: Removed unused dependencies
- π Go Version: Updated to Go 1.25.1
This release focuses on enhancing the logging experience with better context support, improved performance, and
comprehensive documentation updates.