Log hook
The log hook is the hook called when a critical error occur (for example a 500 status code, or a problem with KCD for decoding a value)
A log hook must have this signature:
type LogHook func(w http.ResponseWriter, r *http.Request, err error)
Last updated
Was this helpful?