use full timestamp in logging

This commit is contained in:
Ian Norden 2020-08-06 14:17:58 -05:00
parent 9bdfd2d730
commit 95067bda40

View File

@ -15,8 +15,15 @@
package main
import "github.com/vulcanize/eth-pg-ipfs-state-snapshot/cmd"
import (
"github.com/sirupsen/logrus"
"github.com/vulcanize/eth-pg-ipfs-state-snapshot/cmd"
)
func main() {
logrus.SetFormatter(&logrus.TextFormatter{
FullTimestamp: true,
})
cmd.Execute()
}