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