1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-05 23:10:54 +00:00

router.go: add comment func LogAccess

This commit is contained in:
Luqmanul Hakim 2019-06-25 08:04:21 +07:00
parent e844058aed
commit 62d96c2e93

View File

@ -971,6 +971,7 @@ func toURL(params map[string]string) string {
return strings.TrimRight(u, "&")
}
// LogAccess logging info HTTP Access
func LogAccess(ctx *beecontext.Context, startTime *time.Time, statusCode int) {
//Skip logging if AccessLogs config is false
if !BConfig.Log.AccessLogs {