Releases: dentech-floss/logging
Releases · dentech-floss/logging
v0.3.2
What's Changed
- refactor(logging): unify Level type with slog.Level by @alexpalyan in #18
Full Changelog: v0.3.1...v0.3.2
v0.3.1
v0.3.0
What's Changed
- Bump google.golang.org/protobuf from 1.36.8 to 1.36.10 by @dependabot[bot] in #14
- Bump gorm.io/gorm from 1.30.1 to 1.31.1 by @dependabot[bot] in #15
- BREAKING CHANGE: Switch to slog by @alexpalyan in #16
Full Changelog: v0.2.5...v0.3.0
v0.2.5
What's Changed
- Updated all dependencies to lastest stable version by @mattiasavelin in #10
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
Extended logger with additional functionality by @mattiasavelin in #8
With() on Logger & LoggerWithContext to allow for incrementally adding fields on the logger.
Usage example:
withCtx := s.logger.WithContext(
msg.Context(),
logging.String("msg_uuid", msg.UUID),
logging.String("payload", string(msg.Payload)),
)
withCtx = withCtx.With(
logging.Int32("clinic_id", 1234),
)
withCtx.Info("Successfully created booking")
StringField(), ProtoField() and LabelField for less typing when using the lib
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
- Bump google.golang.org/protobuf from 1.36.6 to 1.36.7 by @dependabot[bot] in #5
- feat(logging): add GORM logger integration by @alexpalyan in #6
- Bump google.golang.org/protobuf from 1.36.7 to 1.36.8 by @dependabot[bot] in #7
New Contributors
- @dependabot[bot] made their first contribution in #5
- @alexpalyan made their first contribution in #6
Full Changelog: v0.2.2...v0.2.3
v0.2.2
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- Added
WithFieldsonLoggerWithContextby @mattiasavelin in #3
Full Changelog: v0.2.0...v0.2.1
Configurable minLevel on new Logger
Added possibility to set minLevel for new logger
v0.1.1
v0.1.1