mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
Log: Add milliseconds to log timestamps (#15496)
This commit is contained in:
@@ -303,7 +303,7 @@ var stateTransitionCommand = &cli.Command{
|
||||
|
||||
func main() {
|
||||
customFormatter := new(prefixed.TextFormatter)
|
||||
customFormatter.TimestampFormat = time.DateTime
|
||||
customFormatter.TimestampFormat = "2006-01-02 15:04:05.00"
|
||||
customFormatter.FullTimestamp = true
|
||||
log.SetFormatter(customFormatter)
|
||||
app := cli.App{}
|
||||
|
||||
Reference in New Issue
Block a user