Merge pull request #3699 from orgmatileg/develop

router.go: add comment func LogAccess
This commit is contained in:
astaxie 2019-07-05 11:34:59 +08:00 committed by GitHub
commit 582a4fa34b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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 {