migrate/log.go

13 lines
282 B
Go
Raw Normal View History

package migrate
2017-02-09 18:23:08 -08:00
// Logger is an interface so you can pass in your own
// logging implementation.
type Logger interface {
2017-02-09 18:23:08 -08:00
// Printf is like fmt.Printf
Printf(format string, v ...interface{})
2017-02-09 18:23:08 -08:00
// Verbose should return true when verbose logging output is wanted
Verbose() bool
}