Files
go-migrate-db/cmd/go_migrate/log.go
Kylesoda ecf0937a53 feat: add database wrapper interfaces for mssql and postgres
Introduce a DB dialect interface and per-dialect wrappers that expose connection, query and column type operations with pre/post SQL hooks.
2026-04-15 19:00:00 -05:00

18 lines
277 B
Go

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