1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

more tiny improvements

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-13 14:28:05 +03:00
parent 65b7983d7a
commit 7431fcc9cf
10 changed files with 127 additions and 93 deletions

View File

@@ -11,6 +11,7 @@ func main() {
app := iris.New()
ac := accesslog.File("access_log.csv")
ac.ResponseBody = true
ac.LatencyRound = time.Second
ac.SetFormatter(&accesslog.CSV{
Header: true,
// DateScript: "FROM_UNIX",