common/loggers: Drop the bold INFO etc. prefixes

That looked a little too much.
This commit is contained in:
Bjørn Erik Pedersen 2023-06-19 17:35:43 +02:00
parent f59c3c0214
commit 6dfbd24797
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -91,7 +91,7 @@ func (h *defaultHandler) HandleLog(e *logg.Entry) error {
prefix = prefix + ": "
}
color.Fprintf(w, "%s %s%s", bold.Sprintf("%*s", h.Padding+1, level), color.Sprint(prefix), e.Message)
color.Fprintf(w, "%s %s%s", fmt.Sprintf("%*s", h.Padding+1, level), color.Sprint(prefix), e.Message)
for _, field := range e.Fields {
if strings.HasPrefix(field.Name, reservedFieldNamePrefix) {