go-sample-webpage/vendor/github.com/golang-migrate/migrate/v4/log.go

13 lines
282 B
Go
Raw Normal View History

2021-11-08 01:25:36 +00:00
package migrate
// Logger is an interface so you can pass in your own
// logging implementation.
type Logger interface {
// Printf is like fmt.Printf
Printf(format string, v ...interface{})
// Verbose should return true when verbose logging output is wanted
Verbose() bool
}