mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
chore: better log time
This commit is contained in:
parent
b4862b7124
commit
7547256d0f
|
@ -18,6 +18,10 @@ var (
|
|||
func init() {
|
||||
log.SetOutput(os.Stdout)
|
||||
log.SetLevel(log.DebugLevel)
|
||||
log.SetFormatter(&log.TextFormatter{
|
||||
FullTimestamp: true,
|
||||
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
|
||||
})
|
||||
}
|
||||
|
||||
type Event struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user