Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.19 kb
package mango
import (
"log"
)
func Logger(logger *log.Logger) Middleware {
return func(env Env, app App) (Status, Headers, Body) {
env["mango.logger"] = logger
return app(env)
}
}
Jump to Line
Something went wrong with that request. Please try again.