log: Do not interpret verbs in object names in console output (#16233)

This commit is contained in:
Anis Elleuch
2022-12-13 17:27:40 +01:00
committed by GitHub
parent 2d60bf8c50
commit 939c0100a6
3 changed files with 10 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ func (c *Target) Send(e interface{}, logKind string) error {
tagString = "\n " + tagString
}
msg := color.FgRed(color.Bold(entry.Trace.Message))
msg := color.RedBold(entry.Trace.Message)
output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s",
apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent,
msg, tagString, strings.Join(trace, "\n"))