mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 05:27:31 +00:00
chore: print colored log
This commit is contained in:
@@ -21,6 +21,7 @@ func init() {
|
|||||||
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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user