github.com/gkats/httplog (go): Package httplog provides logging for http requests.  Apart from a ready to use logger that can be used freely, the package also provides a logging middleware (or wrapper) over http Handlers.  The logger outputs a small set of default parameters and provides an extensible way to log extra parameters if needed. The log format is a nice balance between human and machine readability.  The log output is one line per request. The parameters are separated with a blank space while the parameter key and its value are separated by the "=" character. Here's an example log output for a single request.  The logger needs a stream that implements the io.Writer interface. This is where all logging output will go.  You just need to provide your handler and a logger as arguments to the httplog.WithLogging function.  Adding extra log parameters
Keywords: golang|golang-package|http|logging