Documentation ¶
Overview ¶
Package log decorates any http handler with a Common Log Format logger
Index ¶
Constants ¶
View Source
const (
UseXForwardedAddress = 1 << iota
)
Variables ¶
This section is empty.
Functions ¶
func DefaultCommonLogHandler ¶
flags_arr is so that no code is broken by an API change
Types ¶
type CommonLogHandler ¶
type CommonLogHandler struct {
// contains filtered or unexported fields
}
func (*CommonLogHandler) ServeHTTP ¶
func (lh *CommonLogHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.