12 lines
282 B
Go
12 lines
282 B
Go
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
|
|
}
|