github.com/SigNoz/golang-migrate/v4@v4.0.0-20231005133642-7493dbaf5f5b/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  }