chore: better log time
This commit is contained in:
parent
28c7de6185
commit
b50071ed37
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue