diff options
-rw-r--r-- | common/loggers/handlerdefault.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loggers/handlerdefault.go b/common/loggers/handlerdefault.go index 28b85ed22..bb48895bc 100644 --- a/common/loggers/handlerdefault.go +++ b/common/loggers/handlerdefault.go @@ -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) { |