github.com/meetsoni15/go-migrate/v4@v4.15.3-0.20221220054613-2c40bd0c4ee9/log.go (about)

     1  package migrate
     2  
     3  // Logger is an interface so you can pass in your own
     4  // logging implementation.
     5  type Logger interface {
     6  
     7  	// Printf is like fmt.Printf
     8  	Printf(format string, v ...interface{})
     9  
    10  	// Verbose should return true when verbose logging output is wanted
    11  	Verbose() bool
    12  }