func NewLogger(prefix string, debug bool) *Logger {
	return &Logger{
		debug:  debug,
		Logger: log.New(os.Stdout, prefix, 0),
	}
}
NewLogger creates a new Logger. The debug variable sets the Debugf/Debugln
methods enablement.
package main
import (
	"log"
	"os"
)
type Logger struct {
	debug bool
	*log.Logger
}