chore: better log time
This commit is contained in:
parent
b4862b7124
commit
7547256d0f
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue