1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 23:30:50 +00:00
This commit is contained in:
astaxie 2013-04-16 21:35:55 +08:00
parent 6ce02f1d1c
commit b9017829ba

View File

@ -203,7 +203,7 @@ func (app *App) ErrorLog(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 {