Files
go-migrate-db/cmd/go_migrate/log.go
Kylesoda 92f010a9a6 feat: add logging and migration runner skeleton
Wire a structured logger and a top-level migration job that drives extract, transform and load stages.
2026-04-06 13:00:00 -05:00

16 lines
226 B
Go

package main
import (
"time"
log "github.com/sirupsen/logrus"
)
func configureLog() {
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
TimestampFormat: time.StampMilli,
})
log.SetLevel(log.DebugLevel)
}