mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 08:36:47 +00:00
chore: don't force output color in log
but you can set `CLICOLOR_FORCE=1` environment variable
This commit is contained in:
1 parent
c5d1e20a64
commit
9729c2e440
1 file changed
+3
-3
+3
-3
@@ -19,9 +19,9 @@ func init() {
|
||||
log.SetOutput(os.Stdout)
|
||||
log.SetLevel(log.DebugLevel)
|
||||
log.SetFormatter(&log.TextFormatter{
|
||||
FullTimestamp: true,
|
||||
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
||||
ForceColors: true,
|
||||
FullTimestamp: true,
|
||||
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
||||
EnvironmentOverrideColors: true,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user