fix: global fields apply to Third-party log module (#4400)

This commit is contained in:
JiChen
2025-01-31 21:51:20 +08:00
committed by GitHub
parent b28f79ac11
commit 84db9bcd15
3 changed files with 7 additions and 7 deletions

View File

@@ -362,7 +362,6 @@ func output(writer io.Writer, level string, val any, fields ...LogField) {
}
}
fields = combineGlobalFields(fields)
// +3 for timestamp, level and content
entry := make(logEntry, len(fields)+3)
for _, field := range fields {