Skip to content

v1.2.0

Latest

Choose a tag to compare

@seakee seakee released this 18 Oct 02:27
· 8 commits to main since this release
  1. Feature Additions

    • Added capability to dynamically modify log levels
    • Implemented support for colored log output
    • Automatic stack trace inclusion for Error, Fatal, and Panic level logs
    • Added With method to create loggers with additional fields
  2. Configuration Improvements

    • Utilized iota for defining log level constants, enhancing readability
    • Added configuration options for maximum log file retention time and rotation interval
  3. Code Structure Optimization

    • Improved file logging creation logic with a dedicated function
    • Refactored portions of the code to enhance maintainability
  4. Compatibility

    • Maintained API compatibility with previous versions

This update significantly enhances the logging system's performance, flexibility, and functionality while maintaining good backward compatibility. We recommend all users to upgrade to this version to benefit from these improvements.