Do not use white color as string output (#489)

## Changes
Do not use white color as string output
This commit is contained in:
Andrew Nester 2023-06-16 15:55:22 +02:00 committed by GitHub
parent 9cf0e0db24
commit fb25baf100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (l *friendlyHandler) Handle(ctx context.Context, rec slog.Record) error {
msg := fmt.Sprintf("%s %s %s%s\n",
color.MagentaString(t),
l.coloredLevel(rec),
color.HiWhiteString(rec.Message),
rec.Message,
attrs)
_, err := l.w.Write([]byte(msg))
return err