Merge pull request #457 from router-for-me/requestlog

style(logging): remove redundant separator line from response section
This commit is contained in:
Luis Pater
2025-12-08 18:21:24 +08:00
committed by GitHub

View File

@@ -814,7 +814,6 @@ func (w *FileStreamingLogWriter) Close() error {
}
// 3. Write RESPONSE section (status, headers, buffered chunks)
content.WriteString("========================================\n")
content.WriteString("=== RESPONSE ===\n")
if w.statusWritten {
content.WriteString(fmt.Sprintf("Status: %d\n", w.responseStatus))