Go to file
Vasiliy Tolstov 65056c73aa add LICENSE
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 15:39:57 +03:00
.github use own fork 2021-01-10 15:34:37 +03:00
.gitignore add LICENSE 2021-01-10 15:39:57 +03:00
go.mod use own fork 2021-01-10 15:34:37 +03:00
go.sum use own fork 2021-01-10 15:34:37 +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 use own fork 2021-01-10 15:34:37 +03:00
zerolog.go use own fork 2021-01-10 15:34:37 +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"}
}