You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized today that http.Server instances have an ErrorLog property that they use to log internal errors with connections. We should consider replacing this with a Zerolog wrapper so that the logs all have a standard format. Unfortunately, log.Logger is not an interface, so we'll have to do the translation based on the literal text written to an io.Writer.
The text was updated successfully, but these errors were encountered:
I would +1 go-logr/logr if we decided to bite the bullet here. It's probably worth keeping in mind that golang is also trying to introduce structured logging into the language by default golang/go#56345
I realized today that
http.Server
instances have anErrorLog
property that they use to log internal errors with connections. We should consider replacing this with a Zerolog wrapper so that the logs all have a standard format. Unfortunately,log.Logger
is not an interface, so we'll have to do the translation based on the literal text written to anio.Writer
.The text was updated successfully, but these errors were encountered: