Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Apr 18:53
b5437a8

This release is primarily focused around more optimization work.

Note: There is a breaking change in behavior -- it is now required to use the NewGoKitHandler() constructor to initialize a logger.

Changelog

New Features And Changes

  • d577b43 perf: create and cache leveled loggers, don't create ad-hoc
  • 565632b perf: hoist static slog time/msg keys to pkg level vars

Fixes

  • 28d8a78 fix!: remove lazy init, require NewGoKitHandler constructor
  • 0475f99 fix: use range-based level mapping for custom slog levels

Other Changes

  • 205cffc ref: inline setCaller() func, it's only used once