Skip to content

Releases: dentech-floss/logging

v0.3.2

27 Nov 08:46
90403d8

Choose a tag to compare

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

24 Nov 15:28
6ac4a0f

Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

17 Nov 14:55
d43435a

Choose a tag to compare

What's Changed

Full Changelog: v0.2.5...v0.3.0

v0.2.5

08 Sep 13:23
b6c709e

Choose a tag to compare

What's Changed

Full Changelog: v0.2.4...v0.2.5

v0.2.4

30 Aug 11:12
c91b24a

Choose a tag to compare

What's Changed

Extended logger with additional functionality by @mattiasavelin in #8
▶️ Added 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")

▶️ Added support for additional typed fields such as Int32, Float64 etc.

▶️ Added aliases for StringField(), ProtoField() and LabelField for less typing when using the lib

Full Changelog: v0.2.3...v0.2.4

v0.2.3

26 Aug 08:05
e7f026b

Choose a tag to compare

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

Full Changelog: v0.2.2...v0.2.3

v0.2.2

28 Apr 10:14
41b7a99

Choose a tag to compare

Full Changelog: v0.2.1...v0.2.2

v0.2.1

17 Jan 09:48

Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

Configurable minLevel on new Logger

12 Oct 07:22
5673521

Choose a tag to compare

Added possibility to set minLevel for new logger

v0.1.1

20 May 08:12

Choose a tag to compare

v0.1.1