Sourced from go.uber.org/zap's releases.
v1.24.0
Enhancements:
- #1148[]: Add
Levelto bothLoggerandSugaredLoggerthat reports the current minimum enabled log level.- #1185[]:
SugaredLoggerturns errors to zap.Error automatically.Thanks to
@Abirdcfly,@craigpastro,@nnnkkk7, and@sashamelentyevfor their contributions to this release.
Sourced from go.uber.org/zap's changelog.
1.24.0 (30 Nov 2022)
Enhancements:
- #1148[]: Add
Levelto bothLoggerandSugaredLoggerthat reports the current minimum enabled log level.- #1185[]:
SugaredLoggerturns errors to zap.Error automatically.Thanks to
@Abirdcfly,@craigpastro,@nnnkkk7, and@sashamelentyevfor their contributions to this release.#1148: https://github.coml/uber-go/zap/pull/1148 #1185: https://github.coml/uber-go/zap/pull/1185
a55bdc3 Release v1.24.0 (#1208)ed5598a Use ReplaceAll instead of Replace with -1 pos arg (#1195)da406e3 Chore: Fix deprecation docs and links (#1193)9b86a50 SugaredLogger: Turn error into zap.Error (#1185)9137e0e go.mod: Bump go directive to 1.19 (#1181)7cabba7 Open absolute paths as files, limited Windows support (#1159)7681a0a Export objectMarshalerPtr (#1171)9abd14b chore: remove duplicate word in comments (#1169)eae3743 Logger, SugaredLogger: Add Level method (#1148)0d6a75b tests: assert.Error/Contains => assert.ErrorContains (#1158)