1d0a53d572
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.5 to 3.10.7. - [Release notes](https://github.com/unistack-org/micro/releases) - [Commits](https://github.com/unistack-org/micro/compare/v3.10.5...v3.10.7) --- updated-dependencies: - dependency-name: go.unistack.org/micro/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
.gitignore | ||
.synced | ||
go.mod | ||
go.sum | ||
LICENSE | ||
options.go | ||
README.md | ||
zerolog_test.go | ||
zerolog.go |
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"}
}