Skip to content

Commit

Permalink
make logrus detect whether output with color
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Yang <[email protected]>
  • Loading branch information
yyb196 committed Apr 25, 2018
1 parent 7c7fe24 commit 99a608a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ func initLog() {
}

formatter := &logrus.TextFormatter{
ForceColors: true,
FullTimestamp: true,
TimestampFormat: "2006-01-02 15:04:05.000000000",
}
Expand Down

0 comments on commit 99a608a

Please sign in to comment.