Documentation ¶ Index ¶ func NewLogWithConfig(conf *Config) http.Handler type Config type Log func NewLog(h http.Handler, o output.Output) *Log func (l *Log) ServeHTTP(rw http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogWithConfig ¶ func NewLogWithConfig(conf *Config) http.Handler Types ¶ type Config ¶ type Config struct { Output output.Output Handler http.Handler } type Log ¶ added in v0.4.12 type Log struct { // contains filtered or unexported fields } func NewLog ¶ added in v0.4.12 func NewLog(h http.Handler, o output.Output) *Log func (*Log) ServeHTTP ¶ added in v0.4.12 func (l *Log) ServeHTTP(rw http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files init.go log.go Click to show internal directories. Click to hide internal directories.