Go to file
2021-03-06 20:14:36 +00:00
.github update workflows 2021-02-18 18:42:59 +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 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.18 2021-03-06 20:14:36 +00:00
go.sum fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.18 2021-03-06 20:14:36 +00:00
LICENSE add LICENSE 2021-01-10 15:39:57 +03:00
options.go use own fork 2021-01-10 15:34:37 +03:00
README.md use own fork 2021-01-10 15:34:37 +03:00
zerolog_test.go cleanup 2021-01-12 10:23:17 +03:00
zerolog.go cleanup 2021-01-12 10:23:17 +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"}
}