logur v0.6.0 Release Notes

Release Date: 2018-12-21 // over 5 years ago
  • โž• Added

    • Contextual logger (instead of Logger.WithFields)
    • ๐ŸŒฒ Field parameter to log functions
    • ๐ŸŒฒ gRPC log integration
    • MySQL driver integration

    ๐Ÿ”„ Changed

    • ๐ŸŒฒ Replace log func variadic arguments with a single message argument
    • ๐Ÿ‘ Check if level is enabled (to prevent unwanted context conversions) when the underlying logger supports it
    • ๐ŸŒฒ Export all log adapter types (in accordance with Go interface guidelines)

    โœ‚ Removed

    • format functions from Logger interface
    • ln functions from Logger interface
    • ๐ŸŒฒ Simple log adapter (implementing format and ln functions)
    • ๐ŸŒฒ Logger.WithFields method (use field parameter of log functions instead)