aboutsummaryrefslogtreecommitdiffhomepage
path: root/common/loggers/handlerdefault.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-06-19 17:35:43 +0200
committerBjørn Erik Pedersen <[email protected]>2023-06-19 17:35:43 +0200
commit6dfbd24797f91b18e303eeded2ed27130161b51c (patch)
treeab3ccdfc3b529dc74d86e4b4d600b234c05417e2 /common/loggers/handlerdefault.go
parentf59c3c02149edafaf6464c27fd3dd2d8137d5833 (diff)
downloadhugo-6dfbd24797f91b18e303eeded2ed27130161b51c.tar.gz
hugo-6dfbd24797f91b18e303eeded2ed27130161b51c.zip
common/loggers: Drop the bold INFO etc. prefixes
That looked a little too much.
Diffstat (limited to 'common/loggers/handlerdefault.go')
-rw-r--r--common/loggers/handlerdefault.go2
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) {