Go to file
dependabot[bot] 9032a0266a
chore(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#99)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:54:39 +03:00
.github chore(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#99) 2023-01-24 09:54:39 +03:00
.gitignore add LICENSE 2021-01-10 15:39:57 +03:00
.synced update micro to v3.1.3 2021-01-19 23:05:03 +03:00
go.mod chore(deps): bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4 2023-01-18 21:03:27 +00:00
go.sum chore(deps): bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4 2023-01-18 21:03:27 +00:00
LICENSE add LICENSE 2021-01-10 15:39:57 +03:00
options.go update import paths 2021-10-28 00:52:30 +03:00
README.md use own fork 2021-01-10 15:34:37 +03:00
zerolog_test.go fields fix 2022-10-13 22:57:31 +03:00
zerolog.go fields fix 2022-10-13 22:57:31 +03:00

Zerolog

Zerolog logger implementation for go-micro meta logger.

Usage

func ExampleWithOut() {
  logger.DefaultLogger = zerolog.NewLogger(logger.WithOutput(os.Stdout), logger.WithLevel(logger.DebugLevel))

  logger.Infof(logger.InfoLevel, "testing: %s", "Infof")

  // Output:
  // {"level":"info","message":"testing: Infof"}
}