Commit b9017829 authored by astaxie's avatar astaxie

#35

parent 6ce02f1d
...@@ -203,7 +203,7 @@ func (app *App) ErrorLog(ctx *Context) { ...@@ -203,7 +203,7 @@ func (app *App) ErrorLog(ctx *Context) {
} }
func (app *App) AccessLog(ctx *Context) { func (app *App) AccessLog(ctx *Context) {
BeeLogger.Printf("[ACC] host: '%s', request: '%s %s', proto: '%s', ua: %s'', remote: '%s'\n", ctx.Request.Host, ctx.Request.Method, ctx.Request.URL.Path, ctx.Request.Proto, ctx.Request.UserAgent(), ctx.Request.RemoteAddr) BeeLogger.Printf("[ACC] host: '%s', request: '%s %s', proto: '%s', ua: '%s', remote: '%s'\n", ctx.Request.Host, ctx.Request.Method, ctx.Request.URL.Path, ctx.Request.Proto, ctx.Request.UserAgent(), ctx.Request.RemoteAddr)
} }
func RegisterController(path string, c ControllerInterface) *App { func RegisterController(path string, c ControllerInterface) *App {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment