chore: don't force output color in log
but you can set `CLICOLOR_FORCE=1` environment variable
This commit is contained in:
parent
c5d1e20a64
commit
9729c2e440
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ func init() {
|
||||||
log.SetOutput(os.Stdout)
|
log.SetOutput(os.Stdout)
|
||||||
log.SetLevel(log.DebugLevel)
|
log.SetLevel(log.DebugLevel)
|
||||||
log.SetFormatter(&log.TextFormatter{
|
log.SetFormatter(&log.TextFormatter{
|
||||||
FullTimestamp: true,
|
FullTimestamp: true,
|
||||||
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
||||||
ForceColors: true,
|
EnvironmentOverrideColors: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue