Go to file
Vasiliy Tolstov 5607a3df92 move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 13:16:50 +03:00
.github move renovate.json 2021-02-10 13:16:50 +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
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"}
}