Sumanth Chinthagunta
bf669d8b9e
loggers updated to match to interface (#480)
refactor loggers to match go-micro changes
Zerolog
Zerolog logger implementation for go-micro meta logger.
Usage
func ExampleWithOut() {
l := zero.NewLogger(zero.WithOut(os.Stdout), zero.WithLevel(logger.DebugLevel))
l.Logf(logger.InfoLevel, "testing: %s", "logf")
// Output:
// {"level":"info","message":"testing: logf"}
}
v3.8.6
Latest
Languages
Go
100%