chore: better log time

This commit is contained in:
gVisor bot 2023-02-15 22:39:28 +08:00
parent b4862b7124
commit 7547256d0f

View file

@ -18,6 +18,10 @@ var (
func init() { func init() {
log.SetOutput(os.Stdout) log.SetOutput(os.Stdout)
log.SetLevel(log.DebugLevel) log.SetLevel(log.DebugLevel)
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
TimestampFormat: "2006-01-02T15:04:05.999999999Z07:00",
})
} }
type Event struct { type Event struct {