#zerolog with fasthttp

6 messages · Page 1 of 1 (latest)

hidden willow
#

currently github.com/rs/zerolog/hlog package provides some helpers to integrate zerolog with http.Handler
i find no method to integrate with fasthttp

warped drum
#

That is the price you for using non-standard handlers, they're not standard and therefore support for them is sparse at best. See <#1025280887388127272 message> (fiber uses fasthttp)

hidden willow
#

you know any logger that integrate with fasthttp?

warped drum
#

no, I don't use fasthttp

#

net/http is the better choice for the majority of people, as explained in that message I linked. Not to say that there aren't cases where using fasthttp makes sense, but the instances where it does are in the minority.

hidden willow
#

np thanks for reply