Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zmyzheng committed Dec 3, 2024
1 parent 083fd11 commit 2062557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (l *redirectLogger) Print(level telegraf.LogLevel, ts time.Time, prefix str
if prefix+attrMsg != "" {
msg = append(msg, prefix+attrMsg)
}
msg = append(msg, args)
msg = append(msg, args...)

fmt.Fprintln(l.writer, msg...)
}
Expand Down

0 comments on commit 2062557

Please sign in to comment.