type StdLogger … var Logger … func init() { … } // SetLogger sets the logger for this package func SetLogger(customLogger StdLogger) { … } // Print delegates to the Logger func Print(v ...interface{ … } // Printf delegates to the Logger func Printf(format string, v ...interface{ … }