1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-27 19:35:33 +00:00
修复AccessLog输出会多换一行的bug
This commit is contained in:
Back Yu
2017-12-12 12:21:55 +08:00
committed by GitHub
parent 33be6803a3
commit 84443b9c05

View File

@@ -22,7 +22,7 @@ import (
) )
const ( const (
apacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f %s %s\n" apacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f %s %s"
apacheFormat = "APACHE_FORMAT" apacheFormat = "APACHE_FORMAT"
jsonFormat = "JSON_FORMAT" jsonFormat = "JSON_FORMAT"
) )