mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-03 16:13:30 +08:00
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
@ -21,7 +21,7 @@ func init() {
|
||||
log.SetFormatter(&log.TextFormatter{
|
||||
FullTimestamp: true,
|
||||
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
||||
ForceColors: true,
|
||||
EnvironmentOverrideColors: true,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user