1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 05:21:30 +00:00
This commit is contained in:
astaxie 2014-10-01 22:31:44 +08:00
parent a907a86476
commit aae89576c6

View File

@ -74,7 +74,7 @@ var (
url_placeholder = "{{placeholder}}" url_placeholder = "{{placeholder}}"
FilterRouterLog func() bool FilterRouterLog func(*beecontext.Context) bool
) )
// To append a slice's value into "exceptMethod", for controller's methods shouldn't reflect to AutoRouter // To append a slice's value into "exceptMethod", for controller's methods shouldn't reflect to AutoRouter
@ -798,7 +798,7 @@ Admin:
} else { } else {
devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch") devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch")
} }
if FilterRouterLog == nil || !FilterRouterLog() { if FilterRouterLog == nil || !FilterRouterLog(context) {
Debug(devinfo) Debug(devinfo)
} }
} }