Go to file
2022-03-31 00:24:24 +03:00
.github chore(deps): bump actions/cache from 2 to 3 2022-03-21 21:26:17 +00: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.9.5 to 3.9.7 2022-03-30 21:23:05 +00:00
go.sum chore(deps): bump go.unistack.org/micro/v3 from 3.9.5 to 3.9.7 2022-03-30 21:23:05 +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 fix panic 2022-02-22 14:17:16 +03:00
zerolog.go fix panic 2022-02-22 14:17:16 +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"}
}