Vasiliy Tolstov
57225055c7
Merge pull request 'update for latest micro changes' (#113) from microv4 into master
Reviewed-on: #113
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"}
}
v3.8.6
Latest
Languages
Go
100%