Skip to content

Commit 431777a

Browse files
committed
Separated color and white
Signed-off-by: Vishal Rana <[email protected]>
1 parent 359db47 commit 431777a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

log/log.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"strconv"
1515

16-
"github.com/mattn/go-colorable"
1716
"github.com/mattn/go-isatty"
1817
"github.com/valyala/fasttemplate"
1918

@@ -65,7 +64,7 @@ func New(prefix string) (l *Logger) {
6564
},
6665
}
6766
l.initLevels()
68-
l.SetOutput(colorable.NewColorableStdout())
67+
l.SetOutput(output())
6968
return
7069
}
7170

0 commit comments

Comments
 (0)