Files

13 lines
282 B
Go
Raw Permalink Normal View History

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