hertz-contrib/logger

Pretty logging

Closed this issue · 2 comments

How can I active this feature ?

log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})

this works

	hlog.SetLogger(hertzZerolog.New(
		hertzZerolog.WithOutput(zerolog.ConsoleWriter{Out: os.Stderr}),
	))