package log // Won't compile if LogInterface can't be realized by a log.Logger var ( _ StdLog = Default _ LogInterface = Default ) // StdLog is interface for builtin log type StdLog interface { Print(...interface{}) Printf(string, ...interface{}) Println(...interface{}) Fatal(...interface{}) Fatalf(string, ...interface{}) Fatalln(...interface{}) Panic(...interface{}) Panicf(string, ...interface{}) Panicln(...interface{}) } // LogInterface is interface for this logger type LogInterface interface { Debug(...interface{}) Info(...interface{}) Print(...interface{}) Warn(...interface{}) Error(...interface{}) Panic(...interface{}) Fatal(...interface{}) Debugln(...interface{}) Infoln(...interface{}) Println(...interface{}) Warnln(...interface{}) Errorln(...interface{}) Panicln(...interface{}) Fatalln(...interface{}) Debugf(string, ...interface{}) Infof(string, ...interface{}) Printf(string, ...interface{}) Warnf(string, ...interface{}) Errorf(string, ...interface{}) Panicf(string, ...interface{}) Fatalf(string, ...interface{}) }