Go to file
Vasiliy Tolstov ea99cc8198
Some checks failed
build / test (push) Failing after 1m29s
build / lint (push) Failing after 2m35s
codeql / analyze (go) (push) Failing after 3m13s
Merge pull request 'skip' (#111) from skip into v3
Reviewed-on: #111
2023-08-01 09:25:13 +03:00
.github chore(deps): bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#100) 2023-01-30 21:21:06 +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.18 to 3.10.19 2023-04-03 22:01:26 +00:00
go.sum chore(deps): bump go.unistack.org/micro/v3 from 3.10.18 to 3.10.19 2023-04-03 22:01:26 +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 fix caller skip count 2023-08-01 09:24:42 +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"}
}