Skip to content

Commit

Permalink
common/loggers: Drop the bold INFO etc. prefixes
Browse files Browse the repository at this point in the history
That looked a little too much.
  • Loading branch information
bep committed Jun 19, 2023
1 parent f59c3c0 commit 6dfbd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/loggers/handlerdefault.go
Expand Up @@ -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) {
Expand Down

0 comments on commit 6dfbd24

Please sign in to comment.