mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
common/loggers: Drop the bold INFO etc. prefixes
That looked a little too much.
This commit is contained in:
parent
f59c3c0214
commit
6dfbd24797
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue