refactor(api_handler): remove unused log statement

This commit is contained in:
wood chen 2024-11-03 08:15:05 +08:00
parent 1b2106697f
commit 402c6cf82d

View File

@ -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, // 持续时间