Skip to content

Commit 4217c0b

Browse files
author
Tobias Meinhardt
committed
Force coloring of logs
1 parent 6eeaebd commit 4217c0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

logging/logging.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import (
99

1010
func Log() *logrus.Entry {
1111
l := logrus.New()
12+
l.SetFormatter(&logrus.TextFormatter{
13+
ForceColors: true,
14+
})
1215

1316
pc, _, _, _ := runtime.Caller(1)
1417
nameFull := runtime.FuncForPC(pc).Name()

0 commit comments

Comments
 (0)