mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
refactor(api_handler): remove unused log statement
This commit is contained in:
parent
1b2106697f
commit
402c6cf82d
@ -79,8 +79,6 @@ func HandleAPIRequest(w http.ResponseWriter, r *http.Request) {
|
|||||||
statsManager.IncrementCalls(endpoint)
|
statsManager.IncrementCalls(endpoint)
|
||||||
|
|
||||||
duration := time.Since(start)
|
duration := time.Since(start)
|
||||||
log.Printf("请求:%s %s,来自 %s -来源:%s -持续时间: %v - 重定向至: %s",
|
|
||||||
r.Method, r.URL.Path, realIP, sourceInfo, duration, randomURL)
|
|
||||||
|
|
||||||
log.Printf(" %12s | %15s | %-6s | %-50s | %s | %-50s",
|
log.Printf(" %12s | %15s | %-6s | %-50s | %s | %-50s",
|
||||||
duration, // 持续时间
|
duration, // 持续时间
|
||||||
|
Loading…
x
Reference in New Issue
Block a user