Closed rrajkowski closed 1 year ago
after testing with v3 i got it working by reordering definitions, Thanks!
func main() {
e := echo.New()
log := zerolog.New(os.Stdout)
e.Logger = lecho.From(log)
//write log from context
e.GET("/", func(c echo.Context) error {
c.Logger().Print("Echo interface")
return nil
})
}
closed
Hi im using echo v4 and go1.19.3 and docs say to use v2 of lecho:
My code below
// Output
Q: is there another version or am im missing something to integrate with zerolog? I've tried:
Thanks in advance