migrate/log.go

13 lines
282 B
Go
Raw Normal View History

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