func (l *Logger) Infof(format string, args ...interface{}) {
	if l.verbose {
		fmt.Printf(format, args...)
	}
}
Infof formatted prints in verbose mode to standart output. Format according to fmt.Printf.
package logger
import (
	"fmt"
	"sync"
)
var lock sync.Mutex
var log *Logger
type Logger struct {
	verbose bool
}
func Setup(verbose bool) {
	lock.Lock()
	defer lock.Unlock()
	log = &Logger{
		verbose,
	}
}
func Info(args ...interface{}) {
	log.Info(args...)
}
func (l *Logger) Info(args ...interface{}) {
	if l.verbose {
		fmt.Println(args...)
	}
}
func Infof(format string, args ...interface{}) {
	log.Infof(format, args...)
}