Commit 596074c7 authored by chenhan wang's avatar chenhan wang
Browse files

fix: drop the log file and only output the log to std flow

parent 2386ec06
...@@ -16,13 +16,6 @@ func Auth(next echo.HandlerFunc) echo.HandlerFunc { ...@@ -16,13 +16,6 @@ func Auth(next echo.HandlerFunc) echo.HandlerFunc {
} }
} }
type logInfo struct {
User_Agent string
IP string
time string
path string
}
/* /*
向文件或 stdout 输出详细的日志,记录用户的 User-Agent、IP 地址、访问时间、访问路径等信息 向文件或 stdout 输出详细的日志,记录用户的 User-Agent、IP 地址、访问时间、访问路径等信息
User-Agent,访问路径,暂且无法实现 User-Agent,访问路径,暂且无法实现
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment