Go to file
2021-02-08 23:50:49 +00:00
.github use own fork 2021-01-10 15:34:37 +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 update micro to v3.1.3 2021-01-19 23:05:03 +03:00
go.sum update micro to v3.1.3 2021-01-19 23:05:03 +03: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
renovate.json Add renovate.json 2021-02-08 23:50:49 +00: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"}
}